From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Display an Image with scaled axes
Date: Tue, 26 May 2009 22:40:21 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 21
Message-ID: <gvhr4l$14d$>
References: <gvebg7$fba$> <gvedft$irt$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1243377621 1165 (26 May 2009 22:40:21 GMT)
NNTP-Posting-Date: Tue, 26 May 2009 22:40:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1853921
Xref: comp.soft-sys.matlab:542742

Thanks, but I already tried it, and it gave me the same results as imagesc(myImage),  except a change of the axis labels...
Also in the Matlab doc. they say that it will only change the axes labels, and indeed that was the only change, I mean I expected the graph to change also (due to new scaling of axes) but nothing...
Am I missing something here? any other suggestion?

"Sadik " <> wrote in message <gvedft$irt$>...
> You can do
> imagesc(x,y,yourImage)
> but you should be careful with which axis you assign as x because imagesc shows the image as if you are viewing the matrix. The first dimension is on the y axis and the second dimension [the columns] are on the x axis...
> "meni vex" <> wrote in message <gvebg7$fba$>...
> > Hi,
> > 
> > I have a 2D matrix, and I want to display it as an image, for example with the 'image', 'imagesc' commands, but, with my axes. I have another 2 vectors holding the x and y values, and I want to display the 2D matrix as function of them.
> > 
> > How can I do this?
> > 
> > Thanks in advance,
> > Meni