axis square としたグラフをprintでepsファイルとして出力するとy軸上の点が消える
2 views (last 30 days)
Show older comments
plotによりy軸上に点が表示されるグラフを
axis square;
とした後、
print('filename','-depsc2','-r600','-loose' );
で図ファイルとして出力するとy軸上の点が消えてしまいます。
axis square
が無ければ、y軸上の点は表示されます。
--- figure の設定は以下の通りです。 あとは、デフォルトです。
pos = [5 5 1757 1235]; paper = [0.5 0.5 20.5 20.5]; figure('Position',pos,'PaperPosition',paper ,'PaperType','A4');
0 Comments
Answers (1)
mizuki
on 28 Sep 2016
最新版のR2016bで確認したところ同様の問題を再現することができなかったのですが、OpenGLを使用した際に同様の現象が起きることが報告されているようです。
R2014b以降のバージョンではデフォルトのレンダラがOpenGLになっており、それが原因の可能性があります。
printコマンドを実行する際に、別のレンダラ (painters) に設定して一度問題が解決するか確認してみてください。
print('filename','-painters', '-depsc2','-r600','-loose' );
0 Comments
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!