axis square としたグラフをprintでepsファイルとして出力するとy軸上の点が消える
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
mizuki
il 28 Set 2016
最新版のR2016bで確認したところ同様の問題を再現することができなかったのですが、OpenGLを使用した際に同様の現象が起きることが報告されているようです。
R2014b以降のバージョンではデフォルトのレンダラがOpenGLになっており、それが原因の可能性があります。
printコマンドを実行する際に、別のレンダラ (painters) に設定して一度問題が解決するか確認してみてください。
print('filename','-painters', '-depsc2','-r600','-loose' );
0 Commenti
Vedere anche
Categorie
Scopri di più su Graphics Performance in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!