ラテックス インタープリターを使用して図を eps ファイルとして保存し、コマンド ライン (matlab -nojvm) から実行しようとしています。
結果のタイトルとラベルのテキストはぎっしり詰まっており、文字が重なっています (スクリーンショットはこちら: http://i.imgur.com/0W9v76j.png )。この動作を再現するサンプル スクリプト:
hFig = figure(1);
set(hFig,'visible','off')
x = 0:0.1:1;
plot(x,x)
set(gca,'FontSize',12)
axis([0 1 -1 1]);
xlabel('x test test','interpreter','latex');
ylabel('sin(x) blah blah','interpreter','latex');
titleTextDisp = ['Testing Long Title Name'];
tFig = title(titleTextDisp);
set(tFig, 'interpreter','latex');
%plotTickLatex2D('xlabeldy',0.02);
set(gcf,'PaperPositionMode','auto')
set(hFig, 'Position', [0 0 700 500])
figName = ['test.eps'];
print(gcf,'-dpsc2','-painters',figName);
Figure の可視性は結果に影響しません。ヒントをいただければ幸いです。