|
From: Thomas S. <t.s...@fz...> - 2009-11-24 19:39:24
|
set surface splot "results.dat" using ($2):($3):($1) with pm3d notitle, "line.dat" using 1:2:(0) with lines mgraat wrote: > > 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 > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/Combining-a-3D-and-a-2D-splot-with-no-surface-tp26498165p26499954.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |