Mon 15 Dec 2014 04:21:20 PM UTC, comment #4:
Interpolated shading does not appear to work with gnuplot. Whether that is Octave's fault or gnuplot's fault I'm not sure.
A simpler example from the current development tree is
I've attached pngs of the output from using FLTK or gnuplot with various backend terminals (X11, WXT).
(file #32674, file #32675, file #32676)
|
Fri 09 May 2014 04:10:12 PM UTC, comment #2:
Thanks for your reply!
Perhaps it is because the version I used is too low. Could you make a test for me please? Thanks!
1. I'm using gnuplot
2. I post an example script as follows:
[x,y,z] = meshgrid(-2:.02:2,-2:.02:2,-2:.02:2);
v = x.*exp(-x.^2-y.^2-z.^2);
xslice = 1; yslice = 1; zslice = -1;
slice(x,y,z,v,xslice,yslice,zslice)
colormap hsv
shading flat
print -dpng slice_flat.png
slice(x,y,z,v,xslice,yslice,zslice)
colormap hsv
shading interp
print -dpng slice_interp.png
Two figures are attached.
Thanks!
(file #31345, file #31346)
|