<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/258680</link>
    <title>MATLAB Central Newsreader - linking two graphs</title>
    <description>Feed for thread: linking two graphs</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, 17 Aug 2009 07:50:17 -0400</pubDate>
      <title>linking two graphs</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/258680#673649</link>
      <author>bram derks</author>
      <description>Dear,&lt;br&gt;
&lt;br&gt;
I would like to do the following:&lt;br&gt;
&lt;br&gt;
Suppose I  have two graphs of two different functions of two variables.&lt;br&gt;
The functions are related in the sense that the domain of one is a (linear) transformation of the other.&lt;br&gt;
&lt;br&gt;
I would like to plot both in a different window, 'walk' through the domain in one graph (with the datacursor) and see a datacursor appear at the function values of the second function in its (transformed) domain. &lt;br&gt;
Is this possible?&lt;br&gt;
&lt;br&gt;
Maybe start with a simplification where both domains are the same? &lt;br&gt;
&lt;br&gt;
Any help would be much appreciated.&lt;br&gt;
Bram</description>
    </item>
    <item>
      <pubDate>Mon, 17 Aug 2009 16:28:03 -0400</pubDate>
      <title>Re: linking two graphs</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/258680#673782</link>
      <author>Paul Mennen</author>
      <description>&quot;bram derks&quot; wrote &lt;br&gt;
&amp;gt; I would like to plot both in a different window, 'walk' through the domain&lt;br&gt;
&amp;gt; in one graph (with the datacursor) and see a datacursor appear at the&lt;br&gt;
&amp;gt; function values of the second function in its (transformed) domain. &lt;br&gt;
&lt;br&gt;
I believe the plot alternative &quot;plt&quot; found in the file exchange (search for &quot;plt&quot;) will help since it data cursors are more sophisticated. Look at the example &quot;demo\tasplt.m&quot; since it does something similar to what you want. Two plots are created. Moving the cursor in plot 1 will also move the corresponding cursor in plot 2 (and visa versa) to keep them synchronized. The last 3 lines of the routine accomplish this feat. It's even simpler if you don't need the &quot;visa versa&quot; part. In that example the domains of the two graphs are the same, however since it synchronizes with respect to the index, the code will work as well with different domains as in your situation.&lt;br&gt;
&lt;br&gt;
~Paul</description>
    </item>
    <item>
      <pubDate>Mon, 24 Aug 2009 09:15:20 -0400</pubDate>
      <title>Re: linking two graphs</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/258680#675275</link>
      <author>bram derks</author>
      <description>Dear Paul, &lt;br&gt;
&lt;br&gt;
Thans for your reply.&lt;br&gt;
I checked plt function and I must see it looks great!&lt;br&gt;
It is intended for 2D applications. Is any extension to 3D foreseen? &lt;br&gt;
&lt;br&gt;
Bram</description>
    </item>
  </channel>
</rss>

