When saving a figure with 'print', not all of the figure is saved
조회 수: 2 (최근 30일)
이전 댓글 표시
I create a figure of a geometric shape with custom major and minor grid lines, thickened axes lines, and shading. I save using
print('dtiff','-r500','TEST')
everything saves except for the thickened major axes. I create the thickened major axes by drawing a line using the code
plot3([c(1,2) c(1,2)],[c(2,1) c(2,1)],[c(3,1) c(3,2)],'k','LineWidth',4)
What is happening? The attached images are how it should look, and how it is actually turning out after saving.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153742/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153743/image.jpeg)
답변 (1개)
nl2605
2013년 12월 18일
I am not so sure, but are you passing the handles of the plot or the axes? That may be one reason. Also, out of curosity what is this '-r500'?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Object Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!