axis square としたグラフをprintでepsファイルとして出力するとy軸上の点が消える
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
mizuki
le 28 Sep 2016
最新版のR2016bで確認したところ同様の問題を再現することができなかったのですが、OpenGLを使用した際に同様の現象が起きることが報告されているようです。
R2014b以降のバージョンではデフォルトのレンダラがOpenGLになっており、それが原因の可能性があります。
printコマンドを実行する際に、別のレンダラ (painters) に設定して一度問題が解決するか確認してみてください。
print('filename','-painters', '-depsc2','-r600','-loose' );
0 commentaires
Voir également
Catégories
En savoir plus sur Graphics Performance dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!