<?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: Smooth MATLAB Graphics</title>
	<atom:link href="http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:12:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: jiro</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-14207</link>
		<dc:creator>jiro</dc:creator>
		<pubDate>Thu, 04 Aug 2011 19:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-14207</guid>
		<description>@Markus,

Yes, I agree that for creating a publication-quality output file, using a vector graphics format is the better approach. This tool is more for if you were doing on-screen presentation directly from MATLAB or making use of the auto-publishing feature.</description>
		<content:encoded><![CDATA[<p>@Markus,</p>
<p>Yes, I agree that for creating a publication-quality output file, using a vector graphics format is the better approach. This tool is more for if you were doing on-screen presentation directly from MATLAB or making use of the auto-publishing feature.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus Kuhn</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-14203</link>
		<dc:creator>Markus Kuhn</dc:creator>
		<pubDate>Thu, 04 Aug 2011 16:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-14203</guid>
		<description>Doing anti-aliasing in MATLAB is usually the wrong approach for publication-quality figures. Instead, use MATLAB to produce a resolution-independent vector graphics format (EPS, PDF, SVG, etc.), and let the software that displays or prints that worry about anti-aliasing. Some of these applications (e.g., Adobe Reader, printer driver) have very good anti-aliasing algorithms and adjust them to the specific properties of your display or output medium (e.g. LCD or Bayer mosaic subpixel rendering).</description>
		<content:encoded><![CDATA[<p>Doing anti-aliasing in MATLAB is usually the wrong approach for publication-quality figures. Instead, use MATLAB to produce a resolution-independent vector graphics format (EPS, PDF, SVG, etc.), and let the software that displays or prints that worry about anti-aliasing. Some of these applications (e.g., Adobe Reader, printer driver) have very good anti-aliasing algorithms and adjust them to the specific properties of your display or output medium (e.g. LCD or Bayer mosaic subpixel rendering).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13887</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 14 Oct 2010 20:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13887</guid>
		<description>Nice, but gives funny results with latex output.  My code is:

[L,Obj] = legend(&#039;$\overline{h}$&#039;);
t = findobj(Obj,&#039;Type&#039;,&#039;Text&#039;);
set(t,&#039;Interpreter&#039;,&#039;latex&#039;);
myaa;</description>
		<content:encoded><![CDATA[<p>Nice, but gives funny results with latex output.  My code is:</p>
<p>[L,Obj] = legend(&#8216;$\overline{h}$&#8217;);<br />
t = findobj(Obj,&#8217;Type&#8217;,'Text&#8217;);<br />
set(t,&#8217;Interpreter&#8217;,'latex&#8217;);<br />
myaa;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jiro</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13419</link>
		<dc:creator>jiro</dc:creator>
		<pubDate>Thu, 04 Feb 2010 05:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13419</guid>
		<description>Nisa,

I&#039;m not familiar with the Psychtoolbox. It&#039;s not a toolbox developed by the MathWorks. As far as incorporating &quot;myaa&quot; code in R2007b, that should not be a problem, but you would have to do the incorporation yourself.</description>
		<content:encoded><![CDATA[<p>Nisa,</p>
<p>I&#8217;m not familiar with the Psychtoolbox. It&#8217;s not a toolbox developed by the MathWorks. As far as incorporating &#8220;myaa&#8221; code in R2007b, that should not be a problem, but you would have to do the incorporation yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nisa</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13418</link>
		<dc:creator>nisa</dc:creator>
		<pubDate>Thu, 04 Feb 2010 02:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13418</guid>
		<description>Hi,

I have just started to learn to use mathlab can this myaa codes be used with mathlab 7.5.0(R2007b)using Psychtoolbox?thanks.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have just started to learn to use mathlab can this myaa codes be used with mathlab 7.5.0(R2007b)using Psychtoolbox?thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jiro</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13104</link>
		<dc:creator>jiro</dc:creator>
		<pubDate>Thu, 26 Mar 2009 03:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13104</guid>
		<description>Thanks for your comment, Jody.

You probably don&#039;t see any difference between the lines on the screen, because MATLAB graphics currently don&#039;t support real antialiasing.

For example, a typical screen resolution is 96 pixels per inch. A point is 1/72th of an inch. This means that the 1 point line is 1 1/3 pixels, while the 0.5 point line is 2/3 pixels. So both lines get rounded to 1 pixel.

However, I have relayed your comment over to development.</description>
		<content:encoded><![CDATA[<p>Thanks for your comment, Jody.</p>
<p>You probably don&#8217;t see any difference between the lines on the screen, because MATLAB graphics currently don&#8217;t support real antialiasing.</p>
<p>For example, a typical screen resolution is 96 pixels per inch. A point is 1/72th of an inch. This means that the 1 point line is 1 1/3 pixels, while the 0.5 point line is 2/3 pixels. So both lines get rounded to 1 pixel.</p>
<p>However, I have relayed your comment over to development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jody  Klymak</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13101</link>
		<dc:creator>Jody  Klymak</dc:creator>
		<pubDate>Tue, 24 Mar 2009 00:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-13101</guid>
		<description>Sorry to revive an old post, but another post made me think to look and see if this had been treated before.

My number-1 beef with Matlab is the quality of the display graphics. I don&#039;t understand why 

&gt;&gt; plot(1:10,&#039;linewi&#039;,1)
&gt;&gt; hold on
&gt;&gt; plot((1:10)+1,&#039;linewi&#039;,0.5) 

look exactly the same on the screen despite looking quite different in anything sent to print.  Is there a reason for this limitation in this day and age, or do I have something set inappropriately?</description>
		<content:encoded><![CDATA[<p>Sorry to revive an old post, but another post made me think to look and see if this had been treated before.</p>
<p>My number-1 beef with Matlab is the quality of the display graphics. I don&#8217;t understand why </p>
<p>&gt;&gt; plot(1:10,&#8217;linewi&#8217;,1)<br />
&gt;&gt; hold on<br />
&gt;&gt; plot((1:10)+1,&#8217;linewi&#8217;,0.5) </p>
<p>look exactly the same on the screen despite looking quite different in anything sent to print.  Is there a reason for this limitation in this day and age, or do I have something set inappropriately?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ad</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-12942</link>
		<dc:creator>Ad</dc:creator>
		<pubDate>Thu, 20 Nov 2008 17:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-12942</guid>
		<description>Hi,

I just found a tip for anti-ailiasing lines. Just add the attribute &#039;LineSmoothing&#039;,&#039;on&#039;. i.e. 

line([x0n x1n],[y0n y1n],&#039;LineWidth&#039;,2,&#039;LineSmoothing&#039;,&#039;on&#039;);

It doesn&#039;t appear to be documented in matlab but it works nicely.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I just found a tip for anti-ailiasing lines. Just add the attribute &#8216;LineSmoothing&#8217;,'on&#8217;. i.e. </p>
<p>line([x0n x1n],[y0n y1n],&#8217;LineWidth&#8217;,2,&#8217;LineSmoothing&#8217;,'on&#8217;);</p>
<p>It doesn&#8217;t appear to be documented in matlab but it works nicely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jiro</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-12668</link>
		<dc:creator>jiro</dc:creator>
		<pubDate>Tue, 02 Sep 2008 19:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-12668</guid>
		<description>@Daniel,
We do use the hardware, but we don&#039;t expose the supersampling feature through that path, so if you want supersampling, for now you&#039;ll need to do it in software.

@Quan,
Thanks for your comments. Yes, functions for automatically pasting MATLAB plots into a PowerPoint presentation can be very useful. In fact, now you can do this by using MATLAB&#039;s publish capability and selecting PPT as the output format.

http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/briymz8-1.html#bri9_s4</description>
		<content:encoded><![CDATA[<p>@Daniel,<br />
We do use the hardware, but we don&#8217;t expose the supersampling feature through that path, so if you want supersampling, for now you&#8217;ll need to do it in software.</p>
<p>@Quan,<br />
Thanks for your comments. Yes, functions for automatically pasting MATLAB plots into a PowerPoint presentation can be very useful. In fact, now you can do this by using MATLAB&#8217;s publish capability and selecting PPT as the output format.</p>
<p><a href="http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/briymz8-1.html#bri9_s4" rel="nofollow">http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/briymz8-1.html#bri9_s4</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Armyr</title>
		<link>http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-12638</link>
		<dc:creator>Daniel Armyr</dc:creator>
		<pubDate>Mon, 01 Sep 2008 06:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/#comment-12638</guid>
		<description>Hi.

This post raises a question with me: Does matlab use hardware accellerated graphics? And if so, why not allow hardware-accelerated anti-aliasing?</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>This post raises a question with me: Does matlab use hardware accellerated graphics? And if so, why not allow hardware-accelerated anti-aliasing?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

