From: Ethan A M. <me...@uw...> - 2020-05-20 06:27:53
|
On Tuesday, 19 May 2020 22:52:48 PDT Dima Kogan wrote: > Hi. I'm probably doing this wrong, but in case I'm not, can somebody > give me a pointer? > > I'm making an splot with "set view map". There're two things in the > splot command: > > - gridded data. this is for contours > > - a line. the is just another thing to plot; no contours needed or > wanted > > Gnuplot really wants to contour everything, so it gives me a warning > aobut not being able to contour the line: > > "/tmp/tst.gp" line 15: warning: Cannot contour non grid data. Please use "set dgrid3d". > > The plot works otherwise. How can I tell gnuplot what specifically I > want contoured? set style data lines set contour plot $D1 matrix nosurface, $D2 using 1:2:3 notitle nocontour Ethan > A demo script: > > > set view map > set contour surface > set cntrparam levels incremental 10,1,20 > splot '-' matrix with lines nosurface ,'-' using 1:2:3 notitle with lines lw 3 > 21.116659897839263 19.791039827138583 18.227675240475808 > 17.237090114458017 16.05638264955801 14.720006247692512 > 13.875609237866147 12.820842598325108 11.685987645475555 > > e > .539 .853 0.0 > 0 .1706 0.0 > 0 .2986 0.0 > e > > > Thanks! > > > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |