octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #42316] Using "slice" with "shading interp" ca


From: yang li
Subject: [Octave-bug-tracker] [bug #42316] Using "slice" with "shading interp" causes different slices covered each other
Date: Fri, 09 May 2014 16:10:12 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #2, bug #42316 (project octave):

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)
    _______________________________________________________

Additional Item Attachment:

File name: slice_flat.png                 Size:219 KB
File name: slice_interp.png               Size:191 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42316>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]