title: Latex interpreter + enlarge font size in MATLAB lower text resolution in plot
body: <p>I have been using the <a href="http://www.mathworks.com/matlabcentral/fileexchange/26311-shadederrorbar" rel="nofollow noreferrer"><code>shadedErrorBar</code></a> while plotting, and the part of the code since I use <code>shadedErrorBar</code> reads as follows:</p>
  
  <pre><code>plot1 = shadedErrorBar(tau_vec, mean(deg_20_hubs_0), sd_deg_20_hubs_0, 'b-o', 1);   hold on;
  plot2 = shadedErrorBar(tau_vec, mean(deg_20_hubs_1), sd_deg_20_hubs_1, 'r-o', 1);
  plot3 = shadedErrorBar(tau_vec, mean(deg_40_hubs_0), sd_deg_40_hubs_0, 'b-x', 1);
  plot4 = shadedErrorBar(tau_vec, mean(deg_40_hubs_1), sd_deg_40_hubs_1, 'r-x', 1);
  hold off;
  set(gca, 'FontSize', 15);
  xlabel('$\log_2 C_\tau$', 'Interpreter', 'latex'); ylabel('ExNVI');
  xlim([-13, 13]);
  ylim([0, 1]);
  
  I=legend('$\bar{d}=20$; no hub   ', '$\bar{d}=20$; with_hubs   ', '$\bar{d}=40$; no hub   ', '$\bar{d}=40$; with hubs   ', ...
  'Location', 'SouthWest');
  set(I, 'Interpreter', 'latex', 'fontsize', 15);
  
  if(off_diag==10 &amp;&amp; N==500)
      set(I, 'visible', 'on');
  else
      set(I, 'visible', 'off');
  end
  
  box on;
  set(gca,'units','centimeters');
  pos = get(gca,'Position');
  ti = get(gca,'TightInset');
  
  set(gcf, 'PaperUnits','centimeters');
  set(gcf, 'PaperSize', [pos(3)+ti(1)+ti(3)+0.6 pos(4)+ti(2)+ti(4)+0.6]);
  set(gcf, 'PaperPositionMode', 'manual');
  set(gcf, 'PaperPosition',[0 0 pos(3)+ti(1)+ti(3)+0.6 pos(4)+ti(2)+ti(4)+0.6]);
  
  saveas(fig, sprintf('./output/offdiag_%d_N_%d.pdf', off_diag, N));
  </code></pre>
  
  <p>The resulting plot has low resolution texts like this:</p>
  
  <p><img src="https://i.stack.imgur.com/sW1U2.png" alt="enter image description here">
  But the resolution of the curve is fine. The problem disappears when I tried removing the latex interpreter, but is it possible to keep it and fix the resolution? I did the plot under MATLAB 2014b in Windows.</p>
  
  <p>Many thanks!</p>