<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/261172</link>
    <title>MATLAB Central Newsreader - Is it possible to merge docked figures?</title>
    <description>Feed for thread: Is it possible to merge docked figures?</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>Fri, 18 Sep 2009 22:04:04 -0400</pubDate>
      <title>Is it possible to merge docked figures?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/261172#681230</link>
      <author>Wouter Numan</author>
      <description>I have created two separate figures and want to merge them into a single figure that can be exported for use in a report. Is it possible to dock the two figures, for instance to a top and bottom tile, and merge them into a single figure with the old figures acting as subplots?&lt;br&gt;
&lt;br&gt;
Alternatively, is it possible to plot existing figures in a subplot?&lt;br&gt;
&amp;nbsp;</description>
    </item>
    <item>
      <pubDate>Sun, 20 Sep 2009 21:38:04 -0400</pubDate>
      <title>Re: Is it possible to merge docked figures?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/261172#681411</link>
      <author>Dave Brackett</author>
      <description>&quot;Wouter Numan&quot; &amp;lt;ktjukker@hotmail.com&amp;gt; wrote in message &amp;lt;h9104k$ald$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have created two separate figures and want to merge them into a single figure that can be exported for use in a report. Is it possible to dock the two figures, for instance to a top and bottom tile, and merge them into a single figure with the old figures acting as subplots?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Alternatively, is it possible to plot existing figures in a subplot?&lt;br&gt;
&amp;gt;  &lt;br&gt;
&lt;br&gt;
i don't think there is a way to do this that is as straightforward as you want. the only way i can think of is to extract the data from your existing plots using 'get' for the xdata and ydata. Then replot into a single axes or into separate subplots within a single figure.</description>
    </item>
    <item>
      <pubDate>Sun, 20 Sep 2009 22:26:03 -0400</pubDate>
      <title>Re: Is it possible to merge docked figures?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/261172#681418</link>
      <author>Phil Goddard</author>
      <description>&lt;br&gt;
There is most likely a way to dock and arrange multiple figures using undocumented java functionality, but I suspect you don't really need to do that.&lt;br&gt;
&lt;br&gt;
You'd be better off either&lt;br&gt;
a) creating a 3rd figure and changing the parent property of our 2 axes to be that figure.&lt;br&gt;
You'll most likely need to play around with their position property once you've done that.&lt;br&gt;
b) a similar thing: change the position of the axes on one of your figure (to make it smaller) and then copy the axes from the second figure onto it.&lt;br&gt;
&lt;br&gt;
You may find that&lt;br&gt;
&amp;gt;&amp;gt; doc copyobj &lt;br&gt;
is useful to read.&lt;br&gt;
&lt;br&gt;
Phil.</description>
    </item>
    <item>
      <pubDate>Mon, 21 Sep 2009 07:38:59 -0400</pubDate>
      <title>Re: Is it possible to merge docked figures?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/261172#681468</link>
      <author>Rune Allnor</author>
      <description>On 19 Sep, 00:04, &quot;Wouter Numan&quot; &amp;lt;ktjuk...@hotmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; I have created two separate figures and want to merge them into a single figure that can be exported for use in a report. Is it possible to dock the two figures, for instance to a top and bottom tile, and merge them into a single figure with the old figures acting as subplots?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Alternatively, is it possible to plot existing figures in a subplot?&lt;br&gt;
&lt;br&gt;
The way to handle such questions is to avoid the GUI when&lt;br&gt;
making figures.&lt;br&gt;
&lt;br&gt;
Instead, make scripts or functions that plot your figures.&lt;br&gt;
That way, it takes no time to edit or reproduce a figure&lt;br&gt;
(I can reproduce stuff I made 15 years ago this way), and&lt;br&gt;
'tiny' modifications like the one you ask for, is fast and&lt;br&gt;
easy to achieve.&lt;br&gt;
&lt;br&gt;
Yes, I know. You already have the figures and they weren't&lt;br&gt;
made with scripts. But use the script method in the future.&lt;br&gt;
You will be far better off.&lt;br&gt;
&lt;br&gt;
Rune</description>
    </item>
    <item>
      <pubDate>Mon, 21 Sep 2009 07:59:03 -0400</pubDate>
      <title>Re: Is it possible to merge docked figures?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/261172#681475</link>
      <author>Jan Simon</author>
      <description>Dear Wouter Numan!&lt;br&gt;
&lt;br&gt;
&amp;gt; I have created two separate figures and want to merge them into a single figure that can be exported for use in a report. Is it possible to dock the two figures, for instance to a top and bottom tile, and merge them into a single figure with the old figures acting as subplots?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Alternatively, is it possible to plot existing figures in a subplot?&lt;br&gt;
&lt;br&gt;
If you need this once only, it could be theeasies way to export the 2 figures to EPS files and print them with a PDF printer on one page.&lt;br&gt;
If you need it repeatedly, other solution might be faster.&lt;br&gt;
&lt;br&gt;
Kind regards, Jan</description>
    </item>
    <item>
      <pubDate>Fri, 30 Oct 2009 19:20:03 -0400</pubDate>
      <title>Re: Is it possible to merge docked figures?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/261172#691064</link>
      <author>Biju Edamana</author>
      <description>&quot;Wouter Numan&quot; &amp;lt;ktjukker@hotmail.com&amp;gt; wrote in message &amp;lt;h9104k$ald$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have created two separate figures and want to merge them into a single figure that can be exported for use in a report. Is it possible to dock the two figures, for instance to a top and bottom tile, and merge them into a single figure with the old figures acting as subplots?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Alternatively, is it possible to plot existing figures in a subplot?&lt;br&gt;
&amp;gt;  &lt;br&gt;
&lt;br&gt;
Go to view in the figure toolbar. Open the tab figure palette. There is this option new subplots. click on the 2-D or 3-D axes depending on your requirement. This will create a new subplot below your current figure. Then copy and paste the plot you want into this new plot are. </description>
    </item>
  </channel>
</rss>

