|
From: <mg...@fi...> - 2009-11-24 15:39:21
|
Hi all, I'm trying to combine the plotting of a heightmap (using contourlines) and a line. The .plot file basically is as follows: set size square set data style lines set pm3d at b interpolate 10,10 set contour set cntrparam bspline set view map unset surface splot "results.dat" using ($2):($3):($1) notitle, "line.dat" using 1:2:(0) The results.dat file contains X, Y and Z values, the line.dat file (which represent a line y = 2-x) only contains X and Y values, with the Z value, as you can see, set at a constant of 0. I use 'unset surface' because otherwise a grid-like figure through the datapoints in results.dat will be plotted, which is very much undesirable in my case. However, this also means that the line represented by line.dat is not plotted. Is this in any way avoidable? That is, can I draw the line in line.dat without also having the plot the grid-like figure? Kind regards, Michiel |