<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Focused on Zooming</title>
	<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/</link>
	<description>Ken &#38; Mike work on the MATLAB Desktop team</description>
	<pubDate>Sun, 08 Nov 2009 03:44:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-6027</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 29 Dec 2008 03:00:10 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-6027</guid>
		<description>@J,

It's difficult to explain what is going on without seeing your graph or the exact commands you are using. If you are using a standard line plot, it's possible that the zoomed in region has the same shape as the original plot. This happens a lot when you zoom in on a plot that does not have a lot of actual data points or does not vary much from point to point. One way to verify that your plot is zooming is when using the interactive tools to see the axes labels change. Depending on the range and label, it may not look like much is happening, also sometimes it can only be seen by the exponent multiplier at the edge of the axis.</description>
		<content:encoded><![CDATA[<p>@J,</p>
<p>It&#8217;s difficult to explain what is going on without seeing your graph or the exact commands you are using. If you are using a standard line plot, it&#8217;s possible that the zoomed in region has the same shape as the original plot. This happens a lot when you zoom in on a plot that does not have a lot of actual data points or does not vary much from point to point. One way to verify that your plot is zooming is when using the interactive tools to see the axes labels change. Depending on the range and label, it may not look like much is happening, also sometimes it can only be seen by the exponent multiplier at the edge of the axis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-6026</link>
		<dc:creator>J</dc:creator>
		<pubDate>Sun, 28 Dec 2008 06:39:26 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-6026</guid>
		<description>Hi,

I have a couple of questions...

I would like to be able to zoom in and out by a factor that is much larger than 2, but sometimes it does not work. How would I be able to do that?

I have tried to zoom in by adjusting the axis range/limits (e.g. by changing the max x-axis limit from 0.14 to 10e-9), or by dragging a box using the zoom-microscope (instead of the 'hand' tool). However, most of the time the result is only the area I've selected, at its original size! How can I blow up the small area I selected to be as large as the usual figure size? How come in some cases changing the axis range/limits does not seem to work?

Perplexed,

J</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a couple of questions&#8230;</p>
<p>I would like to be able to zoom in and out by a factor that is much larger than 2, but sometimes it does not work. How would I be able to do that?</p>
<p>I have tried to zoom in by adjusting the axis range/limits (e.g. by changing the max x-axis limit from 0.14 to 10e-9), or by dragging a box using the zoom-microscope (instead of the &#8216;hand&#8217; tool). However, most of the time the result is only the area I&#8217;ve selected, at its original size! How can I blow up the small area I selected to be as large as the usual figure size? How come in some cases changing the axis range/limits does not seem to work?</p>
<p>Perplexed,</p>
<p>J</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hirsch</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5525</link>
		<dc:creator>Scott Hirsch</dc:creator>
		<pubDate>Fri, 15 Aug 2008 12:24:37 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5525</guid>
		<description>Bao - 

Check out Doug Hull's excellent Zoom Box: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=2884&#38;objectType=FILE

-scott</description>
		<content:encoded><![CDATA[<p>Bao - </p>
<p>Check out Doug Hull&#8217;s excellent Zoom Box: <a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=2884&amp;objectType=FILE" rel="nofollow">http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=2884&amp;objectType=FILE</a></p>
<p>-scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bao</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5471</link>
		<dc:creator>bao</dc:creator>
		<pubDate>Fri, 08 Aug 2008 16:32:38 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5471</guid>
		<description>I'd really like to be able to put a zoomed in version of part of the figure inside the original figure, so that one can see the overview, as well as details of some interesting part at the same time.

I was trying to do zoom, then copy object, but zoom always affect all lines in the same plot. Maybe I should consider overlaying two plots in the same figure? Haven't found anything about this yet.</description>
		<content:encoded><![CDATA[<p>I&#8217;d really like to be able to put a zoomed in version of part of the figure inside the original figure, so that one can see the overview, as well as details of some interesting part at the same time.</p>
<p>I was trying to do zoom, then copy object, but zoom always affect all lines in the same plot. Maybe I should consider overlaying two plots in the same figure? Haven&#8217;t found anything about this yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5198</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 07 Jul 2008 12:35:43 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5198</guid>
		<description>Wenjian,

You can link axes containing two images using the syntax
linkaxes(ax,'x')
where "ax" is a vector containing the handles to the two axes.</description>
		<content:encoded><![CDATA[<p>Wenjian,</p>
<p>You can link axes containing two images using the syntax<br />
linkaxes(ax,&#8217;x')<br />
where &#8220;ax&#8221; is a vector containing the handles to the two axes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wenjian</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5173</link>
		<dc:creator>Wenjian</dc:creator>
		<pubDate>Thu, 03 Jul 2008 23:08:27 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5173</guid>
		<description>What about two images? Can I link their horizontal axes?</description>
		<content:encoded><![CDATA[<p>What about two images? Can I link their horizontal axes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5063</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 19 Jun 2008 23:23:13 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5063</guid>
		<description>Pat,

 It's not often that people talk about how the simulink scopes are more powerful than a regular figure window :-). Another option, although I am not sure if it is less work, would be to use the new toolbar editor to create icons for a toolbar in a MATLAB GUI to do the same things.</description>
		<content:encoded><![CDATA[<p>Pat,</p>
<p> It&#8217;s not often that people talk about how the simulink scopes are more powerful than a regular figure window :-). Another option, although I am not sure if it is less work, would be to use the new toolbar editor to create icons for a toolbar in a MATLAB GUI to do the same things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5062</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Thu, 19 Jun 2008 21:12:33 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-5062</guid>
		<description>Linking axes and constrained zooming are both very powerful capabilities that I am used to in Simulink scopes. I always thought (and still do think) that Matlab should include additional toolbar buttons to link axes and constrained zooming, so I created the following Shortcuts on my Matlab toolbar. Each shortcut is applied to the current figure.

X Zoom
&#62;&#62;zoom xon

Y Zoom
&#62;&#62;zoom yon

Link X Axes
(I use this all the time, but unfortunately the syntax of the function requires the handles of all the subplots which may not be immediately known in order to link axes in the x or y direction. Therefore, I swiped some code out of the top of linkaxes and created a shortcut with the following code.)
&#62;&#62;fig = get(0,'CurrentFigure');
&#62;&#62;if isempty(fig), return; end
&#62;&#62;ax = findobj(fig,'Type','Axes');
&#62;&#62;nondatachild = logical([]);
&#62;&#62;for k=length(ax):-1:1
&#62;&#62;nondatachild(k) = isappdata(ax(k),'NonDataObject');
&#62;&#62;end
&#62;&#62;ax(nondatachild) = [];
&#62;&#62;linkaxes(ax,'x')</description>
		<content:encoded><![CDATA[<p>Linking axes and constrained zooming are both very powerful capabilities that I am used to in Simulink scopes. I always thought (and still do think) that Matlab should include additional toolbar buttons to link axes and constrained zooming, so I created the following Shortcuts on my Matlab toolbar. Each shortcut is applied to the current figure.</p>
<p>X Zoom<br />
&gt;&gt;zoom xon</p>
<p>Y Zoom<br />
&gt;&gt;zoom yon</p>
<p>Link X Axes<br />
(I use this all the time, but unfortunately the syntax of the function requires the handles of all the subplots which may not be immediately known in order to link axes in the x or y direction. Therefore, I swiped some code out of the top of linkaxes and created a shortcut with the following code.)<br />
&gt;&gt;fig = get(0,&#8217;CurrentFigure&#8217;);<br />
&gt;&gt;if isempty(fig), return; end<br />
&gt;&gt;ax = findobj(fig,&#8217;Type&#8217;,'Axes&#8217;);<br />
&gt;&gt;nondatachild = logical([]);<br />
&gt;&gt;for k=length(ax):-1:1<br />
&gt;&gt;nondatachild(k) = isappdata(ax(k),&#8217;NonDataObject&#8217;);<br />
&gt;&gt;end<br />
&gt;&gt;ax(nondatachild) = [];<br />
&gt;&gt;linkaxes(ax,&#8217;x')</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alaa</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-3697</link>
		<dc:creator>alaa</dc:creator>
		<pubDate>Wed, 19 Mar 2008 08:41:19 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-3697</guid>
		<description>Good job 
please tell my if can use this software to study thy number of periods in dynamic system</description>
		<content:encoded><![CDATA[<p>Good job<br />
please tell my if can use this software to study thy number of periods in dynamic system</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-2530</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 07 Jan 2008 14:37:36 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/12/10/focused-on-zooming/#comment-2530</guid>
		<description>Currently, datetick does not refresh the axes limits and ticks after a zoom operation. This is something that we are working on for a future release. In the meanwhile, it is possible to work around this issue by using the callbacks of the pan and zoom object as in this File Exchange posting:

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15029&#38;objectType=file

-Dan</description>
		<content:encoded><![CDATA[<p>Currently, datetick does not refresh the axes limits and ticks after a zoom operation. This is something that we are working on for a future release. In the meanwhile, it is possible to work around this issue by using the callbacks of the pan and zoom object as in this File Exchange posting:</p>
<p><a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15029&amp;objectType=file" rel="nofollow">http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15029&amp;objectType=file</a></p>
<p>-Dan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
