Hi gnuplot gurus,
I am sure this has been answered already but I couldn't find it; please
forgive me for asking:
I have a data set I plot with pm3d. I defined the line styles in order to
change the color of the contour lines but i have troubles in hiding these
contours when the surface is "in front" of them making the picture somewhat
confusing (see the pic).
I tried with eg.:
set pm3d at s hidden3d 3
but as far as I understood, this only is for drawing the data points surface
not the contours; besides I do not want the my surface plotted with points
or lines, I just want the pm3d surface
and also with:
set hidden3d
But I think this only works for axis and grid right ?
I would also like to be able to draw a grid on the xz and yz planes at each
xtics and ytics respectively (the set grid xtics ytics ztics plots the grid
only on the ztics for these planes)... This is secondary and I didn't do an
extensive search on that though :blush:
Thanks a lot for your help
http://old.nabble.com/file/p31987266/plot.gplt.jpeg
The code to generate the eps the picture is based on is :
reset
set term post color eps enhanced size 10,7 solid
set out 'plot.gplt.eps'
set xrange [4:21.5]
set yrange [-0.6:0.3]
set zrange [0:2.3]
set cbrange [0:2.3]
set grid xtics ytics ztics
set contour surf
set cntrparam lev inc 0,0.1,2.25
set sty line 1 lt -1
set sty line 2 lt -1
# set pm3d at s hidden3d 3
set sty line 3 lt -1
set sty line 4 lt -1
set sty line 5 lt -1
set sty line 6 lt -1
set sty line 7 lt -1
set sty line 8 lt -1
set sty line 9 lt -1
set sty line 10 lt -1
set sty line 11 lt -1
set sty line 12 lt -1
set sty line 13 lt -1
set sty line 14 lt -1
set sty line 15 lt -1
set sty line 16 lt -1
set sty line 17 lt -1
set sty line 18 lt -1
set sty line 19 lt -1
set sty line 20 lt -1
set sty line 21 lt -1
set sty line 22 lt -1
set sty line 23 lt -1
set sty line 24 lt -1
set sty line 25 lt -1
set sty line 26 lt -1
set sty line 27 lt -1
set style increment user
set view 37,176
set view 47,148
#unset hidden3d
#unset surf
unset key
set palette defined
sp \
'fes.dat' u 1:2:($3+3.7)w pm3d
--
View this message in context: http://old.nabble.com/Hide-contour-behind-pm3d-surface-and-grid-on-the-xz-and-yz-planes-tp31987266p31987266.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|