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

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

[Octave-bug-tracker] [bug #62511] Use subplot() and image() will draw up


From: Rik
Subject: [Octave-bug-tracker] [bug #62511] Use subplot() and image() will draw upside down image
Date: Mon, 23 May 2022 23:54:53 -0400 (EDT)

Update of bug #62511 (project octave):

             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #5:

Matlab documentation is clear that when image is called with "cdata" property,
i.e., low-level call, then the "ydir" property is not changed.  See
https://www.mathworks.com/help/matlab/ref/image.html.

Also tested in Matlab,


figure;
image (axes (), 'cdata', get (0, "defaultimagecdata"));


and axes "ydir" property is "normal" and image is reversed.

If you want to call the high-level form of image() then just supply the axes
handle and the color data like so


image(a, imread('open_file_with_presentation.svg')







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62511>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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