|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
failure in reversed xdir or ydir axeshi, when invoking set to get reversed axes, the new axes labels overlap with old ones and the axes does not get reversed effectively. when running plot(1:10) set(gca(),"ydir","reverse") or plot(1:10) set(axes,"ydir","reverse"); I get the following figure test.png is that a known issue? is there a simple fix? thanks, eric octave3.2 GNU Octave, version 3.2.0 Copyright (C) 2009 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Octave was configured for "i486-pc-linux-gnu". gnuplot G N U P L O T Version 4.2 patchlevel 5 last modified Mar 2009 System: Linux 2.6.26-2-686 |
|
|
Re: failure in reversed xdir or ydir axesI 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. |
|
|
Re: failure in reversed xdir or ydir axesOn 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 _______________________________________________ Bug-octave mailing list Bug-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Re: failure in reversed xdir or ydir axesOn 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 |
|
|
Re: failure in reversed xdir or ydir axes> 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. that makes sense. I thought that axes was returning an handle to the current axes. sorry for the false alarm, eric. _______________________________________________ Bug-octave mailing list Bug-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave |
|
|
Re: failure in reversed xdir or ydir axesOn Thursday, July 02, 2009, at 08:57AM, "Eric Chassande-Mottin" <echassandemottin@...> wrote: >> 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. > >that makes sense. I thought that axes was returning an handle >to the current axes. > >sorry for the false alarm, eric. > Jaroslav, you are correct. I compared 3.0.5, and 3.2.0 to Matlab 2007b (I'm still able to run the released versions). All gave the same result. Eric to get what you had expected, try ... set (gca, "ydir", "reverse") Ben _______________________________________________ Bug-octave mailing list Bug-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave |
| Free embeddable forum powered by Nabble | Forum Help |