octave-maintainers
[Top][All Lists]
Advanced

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

Re: more graphics changes.


From: John W. Eaton
Subject: Re: more graphics changes.
Date: Tue, 20 Mar 2007 13:22:18 -0400

On 19-Mar-2007, Daniel J Sebald wrote:

| Søren Hauberg wrote:
| 
| > *) The axis when showing images isn't correct. This was fixed in 
| > previous version after some discussions on the behaviour. I think you 
| > just have to flip the y-axis. The problem can be illustrated by the 
| > following code:
| > 
| >   im = zeros(50, 50);
| >   im(30,  5:15) = 1;
| >   im(25:35, 10) = 1;
| >   imshow(im)
| >   hold on; plot(10, 30, 'r*'); hold off
| > 
| > This should show a black image with a white cross. In the center of the 
| > white cross a red * should appear.
| 
| Give the attached patch a try.  If "image" or its varieties has been called 
when 
| axis hold is "off" then the ydir is reversed.

I applied this patch.

Thanks,

jwe



reply via email to

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