failure in reversed xdir or ydir axes

Jaroslav Hajek highegg at gmail.com
Thu Jul 2 07:46:31 CDT 2009


On Thu, Jul 2, 2009 at 2:39 PM, Ben Abbott<bpabbott at mac.com> wrote:
> On Wednesday, July 01, 2009, at 07:58AM, "Eric Chassande-Mottin" <echassandemottin at gmail.com> wrote:
>>
>>I click "post message" too fast
>>
>>plot(1:10)
>>set(gca(),"ydir","reverse")
>>does work
>>while
>>plot(1:10)
>>set(axes,"ydir","reverse");
>>does not.
>>
>>e.
>
> Eric / others,
>
> I had  hoped to look at this sooner, but the display on my notebook has died.
>
> If no one gets to it, I'll be functional again in a week or two.
>
> Ben

Is that really a bug?

set(axes,"ydir","reverse");

As I understand it, the "axes" call creates a new axes object and
inserts it into the current figure, "set" then sets the attribute,
which works, but you now have two axes in the figure, but only one of
them with ydir reversed. That's what I see.


-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



More information about the Bug-octave mailing list