 not so Frequently Asked Questions  update 2004/9/15


not so FAQ 
About 3Dimensional Plot (No.2)How do I draw a 3dim. grid graph from 3Dim scattered dataSuppose your data to be plotted are 3dimensinonal scattered data (x,y,z) with arbitrary order. With the splot command, gnuplot generates points or lines in a 3dim. space. # X Y Z 9.862e01 8.062e02 0.001 9.786e01 1.134e01 0.002 9.720e01 1.382e01 0.003 ..... 1.849e01 2.165e01 80.000 2.412e01 1.301e01 90.000 2.611e01 4.825e02 100.000 gnuplot> set xrange [1:1] gnuplot> set yrange [1:1] gnuplot> set ticslevel 0 gnuplot> splot "datafile.dat" u 1:2:3 with lines In order to generate a 3dim. grid graph from those data, use set dgrid3d. Height of each mesh is determined automatically by a weighted average of the data inside the grid. The number of mesh in the X and Ydirections can be specified by set dgrid3d xmesh, ymash. gnuplot> set dgrid3d 30,30 gnuplot> set hidden3d gnuplot> splot "datafile.dat" u 1:2:3 with lines 