|
From: Manfred S. <man...@gm...> - 2013-05-08 12:33:45
|
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?
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
|