私はMatlab、7.10.0.499(R2010a)を使用してepsに図を書き出そうとしてprint
いますが、A3にしない限り、図を設定した用紙サイズに関係なく軸ラベルのトリミングを続けます。
これは、問題を説明するための png です (ただし、png が別のレンダリング パイプラインから出てくることは理解しています)。
このグラフを生成するコードは次のとおりです。
figure,
set(gcf, 'renderer', 'painters');
loglog(p_m_tt, p_fa_tt, 'k-', 'LineWidth', 2); hold on;
loglog(p_m_oo, p_fa_oo, 'k--', 'LineWidth', 2); hold on;
loglog(p_m_ot, p_fa_ot, 'k-.', 'LineWidth', 3); hold on;
fontSize = 9;
l = legend('Cam1-Cam1', 'Cam2-Cam2', 'Cam2-Cam1', ...
'Location', 'NorthEast');
fontSize = 20;
xlabel('$P_{fa}$', 'fontsize', fontSize);
ylabel('$P_{m}$', 'fontsize', fontSize);
set(gca, 'XMinorTick', 'off', 'YMinorTick', 'off', 'YGrid', 'on', 'XGrid', 'on');
set(gcf, 'PaperPositionMode', 'auto');
set(gca, 'XTick', [0.00001 0.0001 0.001 0.01 0.1 1]);
set(gca, 'MinorGridLineStyle', 'none');
set(gca, 'FontSize', fontSize);
set(gcf, 'defaultAxesFontName', 'Times New Roman');
axis square;
X = 13;
Y = 13;
xMargin = 0.25; %# left/right margins from page borders
yMargin = 0.25; %# bottom/top margins from page borders
xSize = X - 2*xMargin; %# figure size on paper (widht & height)
ySize = Y - 2*yMargin;
set(gcf, 'PaperUnits', 'centimeters');
set(gcf, 'PaperSize', [X Y]);
set(gcf, 'PaperPosition', [0 0 xSize ySize]);
print('-depsc2', f);