<?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: Customizing axes tick labels	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/customizing-axes-tick-labels/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/customizing-axes-tick-labels?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customizing-axes-tick-labels</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Tue, 12 Jun 2018 12:49:44 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Stefan		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-429473</link>

		<dc:creator><![CDATA[Stefan]]></dc:creator>
		<pubDate>Tue, 12 Jun 2018 12:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7304#comment-429473</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-421281&quot;&gt;Evgenii&lt;/a&gt;.

No, &lt;code&gt;saveas(gcf,&#039;filename.svg&#039;)&lt;/code&gt; still yields axis ticks not formatted with latex. Or what are you referring to?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-421281">Evgenii</a>.</p>
<p>No, <code>saveas(gcf,'filename.svg')</code> still yields axis ticks not formatted with latex. Or what are you referring to?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Evgenii		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-421281</link>

		<dc:creator><![CDATA[Evgenii]]></dc:creator>
		<pubDate>Sun, 25 Mar 2018 09:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7304#comment-421281</guid>

					<description><![CDATA[The problem was gone in r2018a.]]></description>
			<content:encoded><![CDATA[<p>The problem was gone in r2018a.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Evgenii		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-418848</link>

		<dc:creator><![CDATA[Evgenii]]></dc:creator>
		<pubDate>Thu, 01 Feb 2018 10:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7304#comment-418848</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-418799&quot;&gt;Yair Altman&lt;/a&gt;.

plot2svg show the symbol pi but it&#039;s unpleasant.
I reported about the bug to MathWorks but the response wouldn&#039;t be fast.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-418799">Yair Altman</a>.</p>
<p>plot2svg show the symbol pi but it&#8217;s unpleasant.<br />
I reported about the bug to MathWorks but the response wouldn&#8217;t be fast.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-418799</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 30 Jan 2018 18:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7304#comment-418799</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-418789&quot;&gt;Evgenii&lt;/a&gt;.

@Evgenii - this is a bug in Matlab. Please report it to MathWorks. Until the bug is fixed, you can use the plot2svg utility, which generates nice-looking results without the bug. 

Note: the version of plot2svg &lt;a href=&quot;https://www.mathworks.com/matlabcentral/fileexchange/7401-scalable-vector-graphics--svg--export-of-figures&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;on the Matlab File Exchange&lt;/a&gt; is relatively old (2012) compared to the &lt;a href=&quot;https://github.com/jschwizer99/plot2svg&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;latest one on Github&lt;/a&gt; (2015).

While this version of plot2svg was last updated in 2015, a more recent version (fork) can be found in &lt;a href=&quot;https://github.com/kupiqu/plot2svg&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://github.com/kupiqu/plot2svg&lt;/a&gt;, and unlike the original version this one seems to be actively maintained.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-418789">Evgenii</a>.</p>
<p>@Evgenii &#8211; this is a bug in Matlab. Please report it to MathWorks. Until the bug is fixed, you can use the plot2svg utility, which generates nice-looking results without the bug. </p>
<p>Note: the version of plot2svg <a href="https://www.mathworks.com/matlabcentral/fileexchange/7401-scalable-vector-graphics--svg--export-of-figures" target="_blank" rel="nofollow">on the Matlab File Exchange</a> is relatively old (2012) compared to the <a href="https://github.com/jschwizer99/plot2svg" target="_blank" rel="nofollow">latest one on Github</a> (2015).</p>
<p>While this version of plot2svg was last updated in 2015, a more recent version (fork) can be found in <a href="https://github.com/kupiqu/plot2svg" target="_blank" rel="nofollow">https://github.com/kupiqu/plot2svg</a>, and unlike the original version this one seems to be actively maintained.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Evgenii		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-tick-labels#comment-418789</link>

		<dc:creator><![CDATA[Evgenii]]></dc:creator>
		<pubDate>Tue, 30 Jan 2018 10:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7304#comment-418789</guid>

					<description><![CDATA[I try to save my graphics like scalable vector graphics but the Tex or LaTex string doesn&#039;t look right. Can you help me?
&lt;pre lang=&quot;matlab&quot;&gt;
x				= 0 : pi/360 : 2*pi;
y				= sin(x+pi);
hFigure				= figure;
hAxes				= subplot(1,1,1);
hLine				= plot(x,y);
hAxes.XGrid			= &#039;on&#039;;
hAxes.YGrid			= &#039;on&#039;;
hAxes.TickLabelInterpreter	= &#039;Latex&#039;;
hAxes.XLim			= [0 2*pi];
hAxes.XTick			= 0 : pi/6 : 2*pi;
hAxes.XTickLabel		= {		...
				   &#039;$-\pi$&#039;	...
				  ,&#039;$-5\pi/6$&#039;	...
				  ,&#039;$-2\pi/3$&#039;	...
				  ,&#039;$-\pi/2$&#039;	...
				  ,&#039;$-\pi/3$&#039;	...
				  ,&#039;$\pi/6$&#039;	...
				  ,&#039;$0$&#039;	...
				  ,&#039;$\pi/6$&#039;	...
				  ,&#039;$\pi/$3&#039;	...
				  ,&#039;$\pi/2$&#039;	...
				  ,&#039;$2\pi/3$&#039;	...
				  ,&#039;$5\pi/6$&#039;	...
				  ,&#039;$\pi$&#039;	...
				 };
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>I try to save my graphics like scalable vector graphics but the Tex or LaTex string doesn&#8217;t look right. Can you help me?</p>
<pre lang="matlab">
x				= 0 : pi/360 : 2*pi;
y				= sin(x+pi);
hFigure				= figure;
hAxes				= subplot(1,1,1);
hLine				= plot(x,y);
hAxes.XGrid			= 'on';
hAxes.YGrid			= 'on';
hAxes.TickLabelInterpreter	= 'Latex';
hAxes.XLim			= [0 2*pi];
hAxes.XTick			= 0 : pi/6 : 2*pi;
hAxes.XTickLabel		= {		...
				   '$-\pi$'	...
				  ,'$-5\pi/6$'	...
				  ,'$-2\pi/3$'	...
				  ,'$-\pi/2$'	...
				  ,'$-\pi/3$'	...
				  ,'$\pi/6$'	...
				  ,'$0$'	...
				  ,'$\pi/6$'	...
				  ,'$\pi/$3'	...
				  ,'$\pi/2$'	...
				  ,'$2\pi/3$'	...
				  ,'$5\pi/6$'	...
				  ,'$\pi$'	...
				 };
</pre>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
