help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extra tick marks at top x-axis: strategy?


From: indium
Subject: Re: extra tick marks at top x-axis: strategy?
Date: Thu, 8 Sep 2011 18:45:49 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

> > remarks:
> > 1. In my case, \pi does not convert to the greek symbol.
> > 2. Both 'activepositionproperty' settings are needed for aligment
> 
> I tried ...
> 
> plot (1:10)
> xtt=(0:3)*pi;
> xttl={'0','\pi','2\pi','3\pi'} % is \pi converted to the symbol?
> set(gca,'xtick',xtt)
> set(gca,'xticklabel',xttl)
> grid
> 
> ... and see the expected result (\pi is converted to the Greek symbol)
> 
> Is the axis "interperter" property set to "tex"?
> 
> Ben
> 
> 

indeed, that was set to 'none', instead of 'tex'

set(ax_top,'interpreter','tex') % this fixes the problem!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]