<?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: Making Pretty Graphs</title>
	<atom:link href="http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/</link>
	<description>Loren Shure works on design of the MATLAB language at MathWorks. She writes here about once a week on MATLAB programming and related topics.</description>
	<lastBuildDate>Thu, 09 Feb 2012 04:19:21 +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/loren/2007/12/11/making-pretty-graphs/#comment-32753</link>
		<dc:creator>jiro</dc:creator>
		<pubDate>Mon, 28 Nov 2011 18:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32753</guid>
		<description>@Hannah,

In case you haven&#039;t found this page in the documentation:

http://www.mathworks.com/help/techdoc/creating_plots/f7-21465.html

You can set default properties for pretty much everything regarding graphics (except for &lt;a href=&quot;http://www.mathworks.com/help/techdoc/creating_plots/f7-45202.html&quot; rel=&quot;nofollow&quot;&gt;plot objects&lt;/a&gt; which are high-level objects). As you can see from the documentation, the default properties start with the word &quot;Default&quot; followed by the object type, followed by the object property. You can get the list of properties for various graphics objects &lt;a href=&quot;http://www.mathworks.com/help/techdoc/infotool/hgprop/doc_frame.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@Hannah,</p>
<p>In case you haven&#8217;t found this page in the documentation:</p>
<p><a href="http://www.mathworks.com/help/techdoc/creating_plots/f7-21465.html" rel="nofollow">http://www.mathworks.com/help/techdoc/creating_plots/f7-21465.html</a></p>
<p>You can set default properties for pretty much everything regarding graphics (except for <a href="http://www.mathworks.com/help/techdoc/creating_plots/f7-45202.html" rel="nofollow">plot objects</a> which are high-level objects). As you can see from the documentation, the default properties start with the word &#8220;Default&#8221; followed by the object type, followed by the object property. You can get the list of properties for various graphics objects <a href="http://www.mathworks.com/help/techdoc/infotool/hgprop/doc_frame.html" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hannah</title>
		<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32748</link>
		<dc:creator>Hannah</dc:creator>
		<pubDate>Mon, 28 Nov 2011 00:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32748</guid>
		<description>Nevermind, I figured it out, put this in your startup.m file:

set(0, &#039;DefaultFigurePaperPositionMode&#039;, &#039;auto&#039;);

But on a related note, where can I find a list of these default properties (especially graph related ones) that can be set in the startup.m file?</description>
		<content:encoded><![CDATA[<p>Nevermind, I figured it out, put this in your startup.m file:</p>
<p>set(0, &#8216;DefaultFigurePaperPositionMode&#8217;, &#8216;auto&#8217;);</p>
<p>But on a related note, where can I find a list of these default properties (especially graph related ones) that can be set in the startup.m file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hannah</title>
		<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32747</link>
		<dc:creator>Hannah</dc:creator>
		<pubDate>Mon, 28 Nov 2011 00:35:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32747</guid>
		<description>Is there a way to set &#039;PaperPositionMode&#039; to auto as a default, instead of setting it for each figure? set(0, &#039;PaperPositionMode&#039;, &#039;auto&#039;) doesn&#039;t work.

Thanks
H</description>
		<content:encoded><![CDATA[<p>Is there a way to set &#8216;PaperPositionMode&#8217; to auto as a default, instead of setting it for each figure? set(0, &#8216;PaperPositionMode&#8217;, &#8216;auto&#8217;) doesn&#8217;t work.</p>
<p>Thanks<br />
H</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipe G. Nievinski</title>
		<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32652</link>
		<dc:creator>Felipe G. Nievinski</dc:creator>
		<pubDate>Tue, 15 Nov 2011 08:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32652</guid>
		<description>Just for the record, the errorbar width issue is handled by FX submission # 22826, by Arnaud Laurent.</description>
		<content:encoded><![CDATA[<p>Just for the record, the errorbar width issue is handled by FX submission # 22826, by Arnaud Laurent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jiro</title>
		<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32362</link>
		<dc:creator>jiro</dc:creator>
		<pubDate>Tue, 05 Jul 2011 13:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32362</guid>
		<description>@Lilia,

Also, I would suggest searching and asking the question on &lt;a href=&quot;http://www.mathworks.com/matlabcentral/answers/&quot; rel=&quot;nofollow&quot;&gt;MATLAB Answers&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@Lilia,</p>
<p>Also, I would suggest searching and asking the question on <a href="http://www.mathworks.com/matlabcentral/answers/" rel="nofollow">MATLAB Answers</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jiro</title>
		<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32361</link>
		<dc:creator>jiro</dc:creator>
		<pubDate>Tue, 05 Jul 2011 13:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32361</guid>
		<description>@Lilia,

There isn&#039;t a straightforward way of assigning different colors to different tick labels.

As a workaround, if you search on File Exchange for &quot;&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/?term=tick+labels&quot; rel=&quot;nofollow&quot;&gt;tick labels&lt;/a&gt;&quot;, you&#039;ll find a number of entries that do some sort of customization on tick labels. You may be able to get some ideas from those entries. The idea would be to create individual text objects that are placed in the appropriate locations.</description>
		<content:encoded><![CDATA[<p>@Lilia,</p>
<p>There isn&#8217;t a straightforward way of assigning different colors to different tick labels.</p>
<p>As a workaround, if you search on File Exchange for &#8220;<a href="http://www.mathworks.com/matlabcentral/fileexchange/?term=tick+labels" rel="nofollow">tick labels</a>&#8220;, you&#8217;ll find a number of entries that do some sort of customization on tick labels. You may be able to get some ideas from those entries. The idea would be to create individual text objects that are placed in the appropriate locations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lilia</title>
		<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32353</link>
		<dc:creator>Lilia</dc:creator>
		<pubDate>Fri, 01 Jul 2011 08:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32353</guid>
		<description>Hello,

Thank you for all the helpful information. 

I am currently trying to produce a nice looking plot for publication and I have run into something I don&#039;t know how to do.  

I have a set of strings as the tick labels along one of my axes and I would love to be able to assign different colors to different tick labels.  Is that possible?

Thank you very much in advance.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thank you for all the helpful information. </p>
<p>I am currently trying to produce a nice looking plot for publication and I have run into something I don&#8217;t know how to do.  </p>
<p>I have a set of strings as the tick labels along one of my axes and I would love to be able to assign different colors to different tick labels.  Is that possible?</p>
<p>Thank you very much in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bert Buurman</title>
		<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32295</link>
		<dc:creator>Bert Buurman</dc:creator>
		<pubDate>Mon, 30 May 2011 22:02:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32295</guid>
		<description>Thank you very much for your explanation of how to make matlab figures look nice in latex. I was getting there but this really nailed it. 

Gr.
Bert.</description>
		<content:encoded><![CDATA[<p>Thank you very much for your explanation of how to make matlab figures look nice in latex. I was getting there but this really nailed it. </p>
<p>Gr.<br />
Bert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jiro</title>
		<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32004</link>
		<dc:creator>jiro</dc:creator>
		<pubDate>Thu, 03 Feb 2011 18:45:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-32004</guid>
		<description>@sundar,

ERRORBARs are created using line objects, so all the lines will show up with the marker that you specified. As you can see from this post example, you can return a handle from the ERRORBAR function, and use that to change the line properties. Note that you need to get the children of the handle to get the actual line handles:

&lt;pre&gt;
set(0,&#039;defaultLineMarker&#039;, &#039;o&#039;)
X = 0:pi/10:pi;
Y = sin(X);
E = std(Y)*ones(size(X));
h = errorbar(X,Y,E);
h2 = get(h, &#039;Children&#039;);

% Second handle is the handle to the error bar lines
set(h2(2), &#039;Marker&#039;, &#039;none&#039;);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@sundar,</p>
<p>ERRORBARs are created using line objects, so all the lines will show up with the marker that you specified. As you can see from this post example, you can return a handle from the ERRORBAR function, and use that to change the line properties. Note that you need to get the children of the handle to get the actual line handles:</p>
<pre>
set(0,'defaultLineMarker', 'o')
X = 0:pi/10:pi;
Y = sin(X);
E = std(Y)*ones(size(X));
h = errorbar(X,Y,E);
h2 = get(h, 'Children');

% Second handle is the handle to the error bar lines
set(h2(2), 'Marker', 'none');
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: sundar</title>
		<link>http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-31987</link>
		<dc:creator>sundar</dc:creator>
		<pubDate>Fri, 21 Jan 2011 18:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/#comment-31987</guid>
		<description>Hi
   When I set &#039;DefaultlineMarker&#039; as &#039;o&#039; in the startup.m file, and I plot a line with errorbars, even the errorbars get some kind of weird markers.
What should I do to set just the actual points with a particular marker?</description>
		<content:encoded><![CDATA[<p>Hi<br />
   When I set &#8216;DefaultlineMarker&#8217; as &#8216;o&#8217; in the startup.m file, and I plot a line with errorbars, even the errorbars get some kind of weird markers.<br />
What should I do to set just the actual points with a particular marker?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

