octave-maintainers
[Top][All Lists]
Advanced

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

Re: cla() ?


From: David Bateman
Subject: Re: cla() ?
Date: Fri, 03 Oct 2008 21:26:17 +0100
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

Ben Abbott wrote:
I just noticed there is no cla() function.

Over the weekend I'll add a new trivial function for gca().

I took a quick look at what delete(gca) would do.

octave-3.1.51+:79> figure(1)
octave-3.1.51+:80> axis;
octave-3.1.51+:81> plot(1:10)
octave-3.1.51+:82> delete(gca)
octave-3.1.51+:83> plot(1:10)
error: axes: expecting argument to be axes handle
error: called from:
error:   /sw/share/octave/3.1.51+/m/plot/axes.m at line 54, column 7
error: axes: expecting argument to be axes handle
error: called from:
error:   /sw/share/octave/3.1.51+/m/plot/axes.m at line 54, column 7
error:   /sw/share/octave/3.1.51+/m/plot/plot.m at line 187, column 5
octave-3.1.51+:84> gca
ans = -67.893


Congrats, it looks like you've found the bug I've been struggling with (though not much recently). Check the thread

http://www.nabble.com/base_graphics_backend-to19385836.html

If you do find the reason, then I'll be able to apply my plotyy/colotbar changes and we can get that little bit closer to a 3.2 releasew :-)

D.

--
David Bateman                                address@hidden
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)


reply via email to

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