[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #30509] 'imshow' doesn't reverse 'ydir' of axi
[Octave-bug-tracker] [bug #30509] 'imshow' doesn't reverse 'ydir' of axis
Fri, 23 Jul 2010 00:44:47 +0000
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:22.214.171.124) Gecko/20100628 Ubuntu/9.10 (karmic) Firefox/3.6.6
Follow-up Comment #4, bug #30509 (project octave):
I think we're getting closer to understanding, and hence finding a solution.
Currently, this sequence doesn't work with Matlab
When you do the reverse
1) produce the line correctly from the lower left to the upper right? With
'ydir' reversed I believe the line will also be incorrectly reversed and
travels from the upper left to lower right.
2) Assuming Matlab correctly plots part (1), does it do so by creating two
axes for the current plot?
children = get(gcf, "children");
which might return
[1,1] = axes
[2,1] = axes
3) If there is only one axis in part (2), and ydir is reversed, has Matlab
reversed the ydata manually?
handles = get(gca);
which I would expect to be 100:-1:1.
Reply to this item at:
Message sent via/by Savannah