|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #31745] flipping images with hold on |
| Date: | Fri, 03 Dec 2010 20:01:38 +0000 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12 |
Follow-up Comment #5, bug #31745 (project octave):
I would take a look at 30509. It began with exactly the same issue, that
'imshow; hold on; plot' produced different behavior than 'plot; hold on;
imshow'.
I implemented the following in changeset 10817:d9147775da54
A) set 'ydir' to 'reverse' when using imshow
B) ignore 'hold on' when using imshow and always reverse axes
C) add some documentation on what imshow is doing since it isn't intuitive.
Part B is exactly the opposite of "prevents image() from reversing the y-axis
for plots on hold." Soren did some testing that seemed to show that Matlab
doesn't even allow the 'plot; hold on; imshow' sequence. Instead the last
imshow command resets the figure.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31745>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |