<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Graphic sizing in Matlab R2015b	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=graphic-sizing-in-matlab-r2015b</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Fri, 30 Dec 2016 23:02:18 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Dan Dolan		</title>
		<link>https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-398193</link>

		<dc:creator><![CDATA[Dan Dolan]]></dc:creator>
		<pubDate>Fri, 30 Dec 2016 23:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6244#comment-398193</guid>

					<description><![CDATA[I posted a partial workaround on the Mathworks File Exchange.

http://www.mathworks.com/matlabcentral/fileexchange/60953-scaled-figure-class]]></description>
			<content:encoded><![CDATA[<p>I posted a partial workaround on the Mathworks File Exchange.</p>
<p><a href="http://www.mathworks.com/matlabcentral/fileexchange/60953-scaled-figure-class" rel="nofollow ugc">http://www.mathworks.com/matlabcentral/fileexchange/60953-scaled-figure-class</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steven Lauwereins		</title>
		<link>https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-378425</link>

		<dc:creator><![CDATA[Steven Lauwereins]]></dc:creator>
		<pubDate>Sun, 29 May 2016 18:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6244#comment-378425</guid>

					<description><![CDATA[On a macbook pro 13&quot; retina the DPI awareness of matlab works only when the screen is in default mode (and then it looks indeed like any retina aware app). Whenever you scale the screen to have more real estate the axes get cropped to the upper left corner. The size of this is dependent on the scaling you have applied on your windows.

&lt;b&gt;A functional work around&lt;/b&gt; (although annoying) is the following: Before starting matlab put your screen back in the default mode (where every rendered pixel is 4 physical pixels). After matlab has started you can set your display back to the preferred scaling, from then on the figures are shown in the correct size.]]></description>
			<content:encoded><![CDATA[<p>On a macbook pro 13&#8243; retina the DPI awareness of matlab works only when the screen is in default mode (and then it looks indeed like any retina aware app). Whenever you scale the screen to have more real estate the axes get cropped to the upper left corner. The size of this is dependent on the scaling you have applied on your windows.</p>
<p><b>A functional work around</b> (although annoying) is the following: Before starting matlab put your screen back in the default mode (where every rendered pixel is 4 physical pixels). After matlab has started you can set your display back to the preferred scaling, from then on the figures are shown in the correct size.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan OShea		</title>
		<link>https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-370441</link>

		<dc:creator><![CDATA[Dan OShea]]></dc:creator>
		<pubDate>Tue, 23 Feb 2016 22:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6244#comment-370441</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-370438&quot;&gt;Dan OShea&lt;/a&gt;.

Ah, thank you &lt;b&gt;Dan Dolan&lt;/b&gt; for writing this up :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-370438">Dan OShea</a>.</p>
<p>Ah, thank you <b>Dan Dolan</b> for writing this up 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan OShea		</title>
		<link>https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-370438</link>

		<dc:creator><![CDATA[Dan OShea]]></dc:creator>
		<pubDate>Tue, 23 Feb 2016 22:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6244#comment-370438</guid>

					<description><![CDATA[Thanks for writing this up Yair. A related issue occurs when using Matlab with external monitors (at least on MacOS). I end up with figure windows where everything is 2x the size it should be and seems to be cropped to the upper left corner of the full figure. I haven&#039;t gotten very far with support on this:

&lt;blockquote&gt;&quot;Currently, MATLAB is not tested to work on external monitors and so issues such as this may occur. Graphics components in MATLAB do not detect changes in such settings as system DPI/screen size, etc. Our developers are aware of this limitation and may address it in a future release.&quot;&lt;/blockquote&gt;

Ugh.]]></description>
			<content:encoded><![CDATA[<p>Thanks for writing this up Yair. A related issue occurs when using Matlab with external monitors (at least on MacOS). I end up with figure windows where everything is 2x the size it should be and seems to be cropped to the upper left corner of the full figure. I haven&#8217;t gotten very far with support on this:</p>
<blockquote><p>&#8220;Currently, MATLAB is not tested to work on external monitors and so issues such as this may occur. Graphics components in MATLAB do not detect changes in such settings as system DPI/screen size, etc. Our developers are aware of this limitation and may address it in a future release.&#8221;</p></blockquote>
<p>Ugh.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan Dolan		</title>
		<link>https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-368437</link>

		<dc:creator><![CDATA[Dan Dolan]]></dc:creator>
		<pubDate>Wed, 27 Jan 2016 04:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6244#comment-368437</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-368385&quot;&gt;Dan&lt;/a&gt;.

I&#039;m also puzzled by this message.  I can tweak resolution settings, but not precisely enough to actually calibrate this screen.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-368385">Dan</a>.</p>
<p>I&#8217;m also puzzled by this message.  I can tweak resolution settings, but not precisely enough to actually calibrate this screen.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan		</title>
		<link>https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-368385</link>

		<dc:creator><![CDATA[Dan]]></dc:creator>
		<pubDate>Tue, 26 Jan 2016 04:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6244#comment-368385</guid>

					<description><![CDATA[Looks like the property is still not modifiable in 2016a. The error message informs us to simply change the resolution in our OS. Right.

&lt;pre lang=&quot;text&quot;&gt;
&gt;&gt; set(0, &#039;ScreenPixelsPerInch&#039;,100);
Warning: The ScreenPixelsPerInch property became read-only in R2015b.
To change the size of text and other elements on your screen, adjust
the screen resolution in your operating system settings. 
For more information, see Root ScreenPixelsPerInch Property.
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>Looks like the property is still not modifiable in 2016a. The error message informs us to simply change the resolution in our OS. Right.</p>
<pre lang="text">
>> set(0, 'ScreenPixelsPerInch',100);
Warning: The ScreenPixelsPerInch property became read-only in R2015b.
To change the size of text and other elements on your screen, adjust
the screen resolution in your operating system settings. 
For more information, see Root ScreenPixelsPerInch Property.
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-368204</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sat, 23 Jan 2016 17:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6244#comment-368204</guid>

					<description><![CDATA[The following may be an undocumented workaround to force Matlab to use a non-standard DPI for axes children (plot lines, text labels etc.):

&lt;pre lang=&quot;matlab&quot;&gt;
warning off MATLAB:graphics:axeslayoutmanager:InconsistentState

% you can use any axes handle below, instead of gca:
hAxManager = matlab.graphics.shape.internal.AxesLayoutManager.getManager(gca);
hAxManager.Parent.ScreenPixelsPerInch = 192;  % for example
&lt;/pre&gt;

Unfortunately, this only affects axes children, not GUI components (figure, uicontrols etc.). Still, it&#039;s better than nothing I guess...]]></description>
			<content:encoded><![CDATA[<p>The following may be an undocumented workaround to force Matlab to use a non-standard DPI for axes children (plot lines, text labels etc.):</p>
<pre lang="matlab">
warning off MATLAB:graphics:axeslayoutmanager:InconsistentState

% you can use any axes handle below, instead of gca:
hAxManager = matlab.graphics.shape.internal.AxesLayoutManager.getManager(gca);
hAxManager.Parent.ScreenPixelsPerInch = 192;  % for example
</pre>
<p>Unfortunately, this only affects axes children, not GUI components (figure, uicontrols etc.). Still, it&#8217;s better than nothing I guess&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alain Barraud		</title>
		<link>https://undocumentedmatlab.com/articles/graphic-sizing-in-matlab-r2015b#comment-368078</link>

		<dc:creator><![CDATA[Alain Barraud]]></dc:creator>
		<pubDate>Fri, 22 Jan 2016 06:38:27 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6244#comment-368078</guid>

					<description><![CDATA[hello yair
Since 2 years I use a windows laptop with a high definition screen 3200x1600.
I have many problems with it low level error crash. I have contacted mathworks without any positive response. ScreenSize value was excatly the half of the reality (1600x900) for exemple. Testing R2016a I observe that a very few number of bugs have been suppressed. The best way for me was to set &#062;&#062;OpenGL software in my startup file for some applications.
Thanks a lot for your expertise
Alain]]></description>
			<content:encoded><![CDATA[<p>hello yair<br />
Since 2 years I use a windows laptop with a high definition screen 3200&#215;1600.<br />
I have many problems with it low level error crash. I have contacted mathworks without any positive response. ScreenSize value was excatly the half of the reality (1600&#215;900) for exemple. Testing R2016a I observe that a very few number of bugs have been suppressed. The best way for me was to set &gt;&gt;OpenGL software in my startup file for some applications.<br />
Thanks a lot for your expertise<br />
Alain</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
