From: Steven Lord on 22 Jun 2010 14:38 "M Paheerathan" <mp.mscproject(a)yahoo.com> wrote in message news:hvmqko$mpv$1(a)fred.mathworks.com... > Dear Walter Roberson, > > The problem is > > In the GUI define axis, origin is at bottom left corner, That's correct. > but when I load a bmp or JPG to that axis, the origin of the Image > (bmp/jpg) is at Top left corner That's correct as well. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/image.html When you call IMAGE as a high-level plotting function, one of the changes it makes is to set the axes YDir property to 'reverse'. You just need to set it back to 'normal'. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/axes_props.html#XDir -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
First
|
Prev
|
Pages: 1 2 Prev: demo files in Webinars Next: Help with Plotting Z-depth for given Magnetic Field intensity |