title: Pi in XTickLabels
body: <p>I tried to use <a href="http://www.mathworks.com/matlabcentral/fileexchange/23841" rel="nofollow">http://www.mathworks.com/matlabcentral/fileexchange/23841</a> to do this as follows:</p>
  
  <pre><code>data=rand(5);
  
  plot(0:pi/4:pi, data,'LineWidth', 3);
  
  format_ticks(gca,{'0', '\pi/4', '\pi/2', '3\pi/4', '\pi'},[],0:pi/4:pi)
  
  ylim([0 1]);
  xlabel('My x label')
  ylabel('My y label')
  
  fontSize = 20;
  
  set(gca,'FontSize',fontSize)
  </code></pre>
  
  <p>However, the x axis label seems to overlap the x tick labels? Does anyone see what I'm doing wrong or can you suggest a better way to do this? Also, the font size of the axis labels does not seem to be the same as the y tick labels?</p>
  
  <p>---- EDIT --------
  Without using format_ticks, this seems to produce the same behavior of overlapping the xticks with the xlabel:</p>
  
  <pre><code>data=rand(5);
  
  plot(0:pi/4:pi, data,'LineWidth', 3);
  
  format_ticks(gca,{'0', '\pi/4', '\pi/2', '3\pi/4', '\pi'},[],0:pi/4:pi)
  
  ylim([0 1]);
  xlabel('My x label')
  ylabel('My y label')
  
  fontSize = 20;
  set(gca,'FontSize',fontSize,'Font','symbol')
  </code></pre>