help-octave
[Top][All Lists]
Advanced

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

Gnuplot toolkit, reversing y-axis doesn't work


From: h6mgos8bn6fb
Subject: Gnuplot toolkit, reversing y-axis doesn't work
Date: Fri, 09 Feb 2018 02:48:50 +0300

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.

reply via email to

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