<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252143</link>
    <title>MATLAB Central Newsreader - Display an Image with scaled axes</title>
    <description>Feed for thread: Display an Image with scaled axes</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 25 May 2009 14:55:03 -0400</pubDate>
      <title>Display an Image with scaled axes</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252143#652246</link>
      <author>meni vex</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
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.&lt;br&gt;
&lt;br&gt;
How can I do this?&lt;br&gt;
&lt;br&gt;
Thanks in advance,&lt;br&gt;
Meni</description>
    </item>
    <item>
      <pubDate>Mon, 25 May 2009 15:29:01 -0400</pubDate>
      <title>Re: Display an Image with scaled axes</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252143#652257</link>
      <author>Sadik </author>
      <description>You can do&lt;br&gt;
&lt;br&gt;
imagesc(x,y,yourImage)&lt;br&gt;
&lt;br&gt;
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...&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;meni vex&quot; &amp;lt;meni_vex@yahoo.com&amp;gt; wrote in message &amp;lt;gvebg7$fba$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 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.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How can I do this?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks in advance,&lt;br&gt;
&amp;gt; Meni</description>
    </item>
    <item>
      <pubDate>Tue, 26 May 2009 22:40:21 -0400</pubDate>
      <title>Re: Display an Image with scaled axes</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252143#652601</link>
      <author>meni vex</author>
      <description>Thanks, but I already tried it, and it gave me the same results as imagesc(myImage),  except a change of the axis labels...&lt;br&gt;
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...&lt;br&gt;
Am I missing something here? any other suggestion?&lt;br&gt;
&lt;br&gt;
&quot;Sadik &quot; &amp;lt;sadik.hava@gmail.com&amp;gt; wrote in message &amp;lt;gvedft$irt$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; You can do&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; imagesc(x,y,yourImage)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 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...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;meni vex&quot; &amp;lt;meni_vex@yahoo.com&amp;gt; wrote in message &amp;lt;gvebg7$fba$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; 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.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; How can I do this?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thanks in advance,&lt;br&gt;
&amp;gt; &amp;gt; Meni</description>
    </item>
    <item>
      <pubDate>Wed, 27 May 2009 07:08:01 -0400</pubDate>
      <title>Re: Display an Image with scaled axes</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252143#652648</link>
      <author>Pekka Kumpulainen</author>
      <description>&quot;meni vex&quot; &amp;lt;meni_vex@yahoo.com&amp;gt; wrote in message &amp;lt;gvhr4l$14d$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Thanks, but I already tried it, and it gave me the same results as imagesc(myImage),  except a change of the axis labels...&lt;br&gt;
&amp;gt; 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...&lt;br&gt;
&amp;gt; Am I missing something here? any other suggestion?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Sadik &quot; &amp;lt;sadik.hava@gmail.com&amp;gt; wrote in message &amp;lt;gvedft$irt$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; You can do&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; imagesc(x,y,yourImage)&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; 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...&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &quot;meni vex&quot; &amp;lt;meni_vex@yahoo.com&amp;gt; wrote in message &amp;lt;gvebg7$fba$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; 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.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; How can I do this?&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Thanks in advance,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Meni&lt;br&gt;
&lt;br&gt;
Have you tried surface? That might be what you want..</description>
    </item>
    <item>
      <pubDate>Sun, 31 May 2009 09:36:01 -0400</pubDate>
      <title>Re: Display an Image with scaled axes</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252143#653638</link>
      <author>meni vex</author>
      <description>Working fine! thank you so much Pekka!&lt;br&gt;
&lt;br&gt;
&quot;Pekka Kumpulainen&quot; &amp;lt;pekka.nospam.kumpulainen@tut.please.fi&amp;gt; wrote in message &amp;lt;gviosh$7et$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;meni vex&quot; &amp;lt;meni_vex@yahoo.com&amp;gt; wrote in message &amp;lt;gvhr4l$14d$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Thanks, but I already tried it, and it gave me the same results as imagesc(myImage),  except a change of the axis labels...&lt;br&gt;
&amp;gt; &amp;gt; 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...&lt;br&gt;
&amp;gt; &amp;gt; Am I missing something here? any other suggestion?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &quot;Sadik &quot; &amp;lt;sadik.hava@gmail.com&amp;gt; wrote in message &amp;lt;gvedft$irt$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; You can do&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; imagesc(x,y,yourImage)&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; 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...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot;meni vex&quot; &amp;lt;meni_vex@yahoo.com&amp;gt; wrote in message &amp;lt;gvebg7$fba$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; 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.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; How can I do this?&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks in advance,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Meni&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Have you tried surface? That might be what you want..</description>
    </item>
  </channel>
</rss>

