|
[Sponsors] |
December 26, 2009, 10:50 |
to plot Mach contour using GNUPLOT
|
#1 |
New Member
Join Date: Dec 2009
Posts: 3
Rep Power: 17 |
I have a 2D unstructured mesh datafile which has the following format (for each cell, x1, x2 and x3 are different, so are with y values ):
x1 y1 Mach1 x2 y2 Mach2 #blank____________________________(for cell 1) x3 y3 Mach3 x3 y3 Mach3 #blank #blank x1 y1 Mach1 x2 y2 Mach2 #blank____________________________(for cell 2) x3 y3 Mach3 x3 y3 Mach3 #blank #blank ...... ...... #for cell N It's ok that a colored contour map could be made with pm3d But I want to plot a contour with just black isolines like below: Somebody may say that it can be realized using dgrid3d But it will be impossible if the mesh is very large to consume too much memory Can anyone tell me how to plot the contour isolines like above? It won't be better if commands are presented Thanks in advance! |
|
December 28, 2009, 12:12 |
|
#2 |
Senior Member
Join Date: Nov 2009
Posts: 411
Rep Power: 20 |
You can check Tecplot (if you have an academic license) - they have a lot of examples of how to plot these kind of data.
About Gnuplot - this is a good choice if you are a programmer, check the last version of Gnuplot, especially the demos directory - I'm sure you will found an example of isolines. http://www.gnuplot.info/ http://sourceforge.net/projects/gnuplot/files/ Do |
|
December 28, 2009, 12:15 |
|
#3 |
Senior Member
Join Date: Nov 2009
Posts: 411
Rep Power: 20 |
Here - some Gnuplot demos:
http://gnuplot.sourceforge.net/demo_4.2/ http://gnuplot.sourceforge.net/demo_4.2/contours.html The last version is 4.4 probably you will find more demos. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to plot contour or vector with "GNUPLOT" | ztdep | Main CFD Forum | 2 | June 19, 2006 13:26 |
How to plot vel vector & contour on same plane? | student | CFX | 7 | May 12, 2006 09:15 |
how to plot isotherms in gnuplot? | sivasamy | Main CFD Forum | 0 | December 19, 2005 02:26 |
non-dimensional analysis in Fluent | Endee | FLUENT | 8 | September 7, 2005 17:16 |
contour plot of stream function | liu | FLUENT | 6 | August 19, 2003 23:30 |