Gnuplot toolkit, reversing y-axis doesn't work

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Gnuplot toolkit, reversing y-axis doesn't work

Rose Merry
Hello!

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

graphics_toolkit('gnuplot') % change the default toolkit

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

axis("ij");

Result -- the last command not flipping the y-axis:
http://img12.lostpic.net/2018/02/08/338b78d4f31e6a7e9283403f2ccf710b.png

set(gca, "ydir", "reverse") -- not working either. With fltk works fine.

Thanks.

-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------