[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
- Re: more graphics changes., (continued)
- Re: more graphics changes., Daniel J Sebald, 2007/03/19
- Re: more graphics changes., Søren Hauberg, 2007/03/19
- Re: more graphics changes., Daniel J Sebald, 2007/03/19
- Re: more graphics changes., Søren Hauberg, 2007/03/19
- Re: more graphics changes., Quentin Spencer, 2007/03/19
- Re: more graphics changes., Daniel J Sebald, 2007/03/19
- Re: more graphics changes., Søren Hauberg, 2007/03/19
- Re: more graphics changes.,
John W. Eaton <=
Re: more graphics changes., John W. Eaton, 2007/03/20
Re: more graphics changes., Søren Hauberg, 2007/03/19
Re: more graphics changes., Søren Hauberg, 2007/03/19