From: Ethan M. <merritt@u.washington.edu> - 2013-05-08 16:18:48
|
On Wednesday, May 08, 2013 05:33:22 am Manfred Schwarb wrote: > Hi, > > I tried to upgrade from gnuplot 4.4 to 4.6 and faced a new error > in my plot script: > "Tabular output of this 3D plot style not implemented" > > I read the release announcements but found no indication of some > pm3d behaviour changes, so I'm quite baffled. Also searching the > net did not reveal much useful information. > > So how is one supposed to use pm3d in gnuplot 4.6? Could you explain more clearly what you are trying to do? So far as I know, it is not necessary to use tabular output for either pm3d or contour plots. Similarly the "set multiplot" command in your script seems unnecessary. The simple answer would be: reset set contour splot '$INFILE' with pm3d Season to taste with your preferred pm3d or contour settings. If there is some particular combination of settings that causes a problem then maybe we can help with that. Ethan > > I'd like to to some 2D maps with contours on top of it. My script > looks roughly as follows: > > > set pm3d interpolate 40,40 implicit map > unset surface > set contour > set cntrparam bspline > set cntrparam levels auto 10 > set table '$TMPCONT1' > splot '$INFILE1' > unset table > > set cntrparam levels auto 5 > set table '$TMPCONT2' > splot '$INFILE2' > unset table > > # Change single blank lines to double blank lines > !awk "NF<2{printf\"\n\"}{print}" <$TMPCONT1 >$TMPCONT1_1 > !awk "NF<2{printf\"\n\"}{print}" <$TMPCONT2 >$TMPCONT2_1 > > reset > set multiplot > > set pm3d interpolate 40,40 explicit map > #---plot contour labels using Petr Mikulik's script: > !awk -f label_contours.awk -v nth=40 center=1 textcolor=1 inclt=0 $TMPCONT1 >$TMPGP > load '$TMPGP' > > splot '$INFILE2' notitle with pm3d, \ > '$TMPCONT1_1' notitle with lines lt -1, \ > '$TMPCONT2_1' notitle with lines lc rgb "gray70" > > > Thanks! > Manfred > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg University of Washington, Seattle 98195-7742 |