Pages

Wednesday, September 1, 2010

gnuplot II

I have introduced gnuplot previously and for those who are interested to create a contour-plot from a 3D data can try to used the following command through gnuplot. The final result of provided command will be the same as previous posted picture  by me on gnuplot.

#start from here
set parametric
set "Times-Roman"
set xlabel "x"
set ylabel "y"
set zlabel "u [m/s]"
set grid lc 1 lw 1
set view 0,0
set palette rgbformulae 22,13,-31
set pm3d at b 
set pm3d map
set pm3d interpolate 5,10
unset key
unset surface
splot "filename.dat"
#finish

Gud luck !!!

No comments:

Post a Comment