From: John H. <jdh...@ac...> - 2005-01-12 11:51:03
|
>>>>> "Eric" == Eric Emsellem <ems...@ob...> writes: Eric> 2/ I have another problem with imshow: Eric> When I do for example: Eric> figure(1) axes([-0.1,0,0.8,0.8]) myima = rand(50,50) Eric> imshow(myima) Eric> then it works and shows me the array with the axes partly Eric> outside the window since the origin for the X axis is < 0 Hmm, it never occurred to me that someone would be placing the axes outside the figure! You example appears to indicate that in the imshow code I am missing a check somewhere for illegal y values but getting it right for illegal x values. My inclination is to disallow axes borders outside the figure boundary. Am I correct that you are only driven to this extreme because you are trying to work around the preserve bug? If so, perhaps it will be an acceptable solution to just fix that bug and raise an exception if someone uses left,bottom<0 or right,top>1. JDH |