loss of details using "print"
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi everyone~
I was trying to plot some nice graphs. I tuned everything. It shows what I want in the Matlab plot window. But when I use command "print" to save the plot as a graph file, I lose some details.
Please see the picture https://plus.google.com/u/0/photos/109003712917074600640/albums/5914475771820213729/5922469929166195458?pid=5922469929166195458&oid=109003712917074600640 The "1" tick in the color bar was lost.
How I print is:
set(gcf,'Position',[50 100 1200 500]);
set(gcf,'PaperUnits','inches','PaperPosition',[0 0 6 3])
print(gcf,'-dtiffn','-r600', name));
Anybody has any idea/advice please let me know. Thanks a lot~
댓글 수: 0
답변 (1개)
Jan
2013년 9월 12일
편집: Jan
2013년 9월 12일
If you set the tick labels of the color bar manually instead of letting Matlab choose them automatically, the internal resizing for the export does not try to determine a nicer set of ticks.
The shown image does not look like it has a resolution of 600 dpi.
댓글 수: 3
참고 항목
카테고리
Help Center 및 File Exchange에서 Colormaps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!