octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #30509] 'imshow' doesn't reverse 'ydir' of axi


From: Søren Hauberg
Subject: [Octave-bug-tracker] [bug #30509] 'imshow' doesn't reverse 'ydir' of axis
Date: Thu, 22 Jul 2010 06:50:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; da-DK; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6

Follow-up Comment #3, bug #30509 (project octave):

I get the following output:

>> plot(1:100,'c');
>> hold on;
>> get (gca, 'ydir')

ans =

normal

>> imshow ('arrow_up.jpg')
Warning: The image file directory at offset position 38 has zero entries and
has been ignored. 
>> get (gca, 'ydir') 

ans =

reverse

The figure shows the image (arrow pointing up), but not the plot. Basically,
when you show an image the figure is reset. So, when you want a figure
containing both an image and a plot you need to show the image first and then
make the plot.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30509>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]