From: kahacjde <kai...@gm...> - 2008-03-06 14:47:13
|
Hello, I noticed the following problem in octave3.0.0/gnuplot4.2.2 (wxt terminal). When I try to plot a 3D mesh with "hidden on" and a rgb color set, only the white facet without grid are drawn. Please have a look at the script below. If I change "set hidden" to "unset hidden" a magenta grid is drawn, but with "set hidden" it is not (only white facets). Also, if I I use 'set style line 1 default;' instead of 'set style line 1 linewidth 0.500000 pointsize 1.000000 linecolor rgbcolor "#FF00FF";' and 'set hidden' it works as expected - a grid with hidden line removal and the default (green) color is drawn. Is this a bug in the script or a gnuplot problem? Thanks in advance, Kai --script starts here --- set terminal wxt enhanced; reset; set autoscale fix; set origin 0, 0; set size 1, 1; set size noratio; set grid xtics; set grid ytics; set grid ztics; set grid nomxtics; set grid nomytics; set grid nomztics; set grid layerdefault; set format x "%g"; set xtics border textcolor rgb "#000000"; set format y "%g"; set ytics border textcolor rgb "#000000"; set format z "%g"; set ztics border textcolor rgb "#000000"; set parametric; set style data lines; set surface; #set style line 1 default; set style line 1 linewidth 0.500000 pointsize 1.000000 linecolor rgbcolor "#FF00FF"; set hidden3d; set xrange [1.0:3.0] noreverse; set yrange [1.0:3.0] noreverse; set zrange [0.0:1.0] noreverse; set border 895; unset key; set style data lines; set ticslevel 0; set view 60, 322.5; splot "-" using ($1):($2):($3):($4) title "" with lines linestyle 1 ; 1 1 1 1 1 2 0 0 1 3 0 0 2 1 0 0 2 2 1 1 2 3 0 0 3 1 0 0 3 2 0 0 3 3 1 1 e --- script end --- -- View this message in context: http://www.nabble.com/linecolor-rgb-bug-for-mesh-plots---tp15873158p15873158.html Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |