<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237194</link>
    <title>MATLAB Central Newsreader - How to modify the figure data in batch?</title>
    <description>Feed for thread: How to modify the figure data in batch?</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>Thu, 09 Oct 2008 13:53:05 -0400</pubDate>
      <title>How to modify the figure data in batch?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237194#604323</link>
      <author>Xi Chen</author>
      <description>&lt;br&gt;
I want to modify the Zdata in the 3D figure, for example,&lt;br&gt;
all data are multiplied with 100. I don't want to change&lt;br&gt;
the data one by one manually, how to do the change in batch?&lt;br&gt;
&lt;br&gt;
Is the &quot;enter expression&quot; useful? Thank you for your helps!&lt;br&gt;
&lt;br&gt;
see the illustration figure&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://preconditioner.googlepages.com/temp.jpg&quot;&gt;http://preconditioner.googlepages.com/temp.jpg&lt;/a&gt;</description>
    </item>
    <item>
      <pubDate>Thu, 09 Oct 2008 20:41:32 -0400</pubDate>
      <title>Re: How to modify the figure data in batch?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237194#604533</link>
      <author>Walter Roberson</author>
      <description>Xi Chen wrote:&lt;br&gt;
&amp;gt; I want to modify the Zdata in the 3D figure, for example,&lt;br&gt;
&amp;gt; all data are multiplied with 100. I don't want to change&lt;br&gt;
&amp;gt; the data one by one manually, how to do the change in batch?&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;gt; Is the &quot;enter expression&quot; useful? Thank you for your helps!&lt;br&gt;
&amp;gt; see the illustration figure&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://preconditioner.googlepages.com/temp.jpg&quot;&gt;http://preconditioner.googlepages.com/temp.jpg&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
No, &quot;enter expression&quot; is useless for this purpose.&lt;br&gt;
&lt;br&gt;
Are you sure that you really need to multiply the ZData,&lt;br&gt;
and not just change the axes zlim ?&lt;br&gt;
&lt;br&gt;
Anyhow, let H be the handle of the object you want to scale&lt;br&gt;
the ZData of, and let Scale be the factor you want to&lt;br&gt;
multiply by. Then,&lt;br&gt;
&lt;br&gt;
set(H, 'ZData', Scale * get(H,, 'ZData'))</description>
    </item>
  </channel>
</rss>

