Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Saving a plot with part of it filled with colour as an image
조회 수: 1 (최근 30일)
이전 댓글 표시
I have the following code portion where an plot is drawn, and part of it is filled with a white colour;
plot(x,y,'Color',color,'LineWidth',lineWidth);
fill(x,y,[1 1 1]);
How can I save this plot as an image, aka as imwrite for images.
Thanks.
댓글 수: 0
답변 (2개)
Image Analyst
2014년 11월 25일
You can use the most downloaded File Exchange submission of all time: export_fig: http://blogs.mathworks.com/pick/2010/05/28/creating-and-exporting-publication-quality-graphics/
댓글 수: 2
Image Analyst
2014년 11월 25일
Good, I'm glad you (hopefully) already have it. I believe you can just pass the current figure, gcf, or the current axes, gca, whichever you want to save.
Panayiotis Christodoulies
2014년 11월 25일
Have a look at this web page:
It contains examples that show how to use export_fig. The webpage was created by Oliver Woodford who developed the export_fig code.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!