How to print figure to an .eps file properly?
이전 댓글 표시
I'm printing the same figures as .png and .eps files. The .png looks fine, but the .eps appear to have some issues:
- Somehow the image is cut to minimal space, but it also appear to cut the last number in my X axis.
- My Y axis is set to a log scale, and so the 10^x (x=0,1,2,...) numbers don't look good at all (they look fine in the .png file).
- In the legend of one of my figures there is an equation using sprintf(...). The text there doesn't scale properly with the box of the legend - it goes beyond the box untill it is cut in the bounds of the image.
I'm using the commands:
...
print(figure_current,'-dpng','-r200',file_figure_png_full_location);
...
print(figure_current,'-depsc','-painters',file_figure_eps_full_location);
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!