help-octave
[Top][All Lists]
Advanced

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

Axis issue


From: Juan Pablo Carbajal
Subject: Axis issue
Date: Sun, 9 Oct 2011 19:38:24 +0200

Hi all,

I expected the  following code to produce a plot in the usual teaching
like axes for plots.

h=plot(2*rand(10,1)-1,2*rand(10,1)-1);
set(gca,'xaxislocation','zero')
set(gca,'yaxislocation','zero')
set(gca,'box','off')

However, there are two lines (the former axes) that remain in the
bottom left. I tested in 3.4.3-rc0 and devel branch.

Is this a bug? Is there a workaround?

Thanks


PS: It only makes a difference when I use the fltk graphics toolkit.


-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/


reply via email to

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