help-octave
[Top][All Lists]
Advanced

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

Fltk toolkit, grid is shown *beneath* pcolor (2D density plot)


From: h6mgos8bn6fb
Subject: Fltk toolkit, grid is shown *beneath* pcolor (2D density plot)
Date: Fri, 09 Feb 2018 02:44:58 +0300

Hello!

Octave version 4.0.3 (Debian Stretch; sorry, didn't check latest version).

x=linspace(-1.1,1.1,100);
y=linspace(-1.1,1.1,100);
[xx,yy]=meshgrid(x,y);
zz=sinc(sqrt(xx.^2+yy.^2));
pcolor(xx,yy,zz);
shading('interp')
grid on

Result -- grid is shown *beneath* pcolor, so pretty useless:
http://img12.lostpic.net/2018/02/08/c16462508e969acf488fc0d463c87aaa.png

I tried to put grid immediately after pcolor -- not working either. With 
gnuplot works fine.

Thanks.

reply via email to

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