[Top][All Lists]

[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: 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 =


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

ans =


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:


  Message sent via/by Savannah

reply via email to

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