From: Petr M. <mi...@ph...> - 2009-01-28 13:02:18
|
The enclosed script using the "pm3d depthorder" gives wrong ordering of faces on gnuplot-cvs, and sometimes wrong and sometimes good ordering on gnuplot 4.2. Also try to rotate the plot by mouse. How can this happen? *** f(x,y)=sin(x*y*pi/180)/(x*y*pi/180) if (1) set xrange [-720:720]; set yrange [-720:720]; \ set sample 10; set isosamples 10; set table 'a.dat'; splot f(x,y); unset table; reset set auto fix #set xrange [0:10]; set yrange [0:10] set xlabel "x axis"; set ylabel "y axis" set xyplane at 0 set pm3d set pm3d depthorder set view 64, 287 splot 'a.dat' with pm3d pause 1 set view 64, 286; replot |