« Return to Thread: failure in reversed xdir or ydir axes

Re: failure in reversed xdir or ydir axes

by Jaroslav Hajek-2 :: Rate this Message:

Reply to Author | View in Thread

On Thu, Jul 2, 2009 at 2:39 PM, Ben Abbott<bpabbott@...> wrote:

> On Wednesday, July 01, 2009, at 07:58AM, "Eric Chassande-Mottin" <echassandemottin@...> 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

_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave

 « Return to Thread: failure in reversed xdir or ydir axes