Saving the plotted data into a new image

조회 수: 4 (최근 30일)
ramakrishna bathini
ramakrishna bathini 2011년 11월 17일
I plotted a circle on an irregular shaped object in an image using the plot().
Can we save that into an image ? i mean i need to save that plotted data and the irregular object into a new image..I don't want to save it.clicking the save button..I need to automate it so that i can apply that to consequent figures..
this is how i plotted
imshow(BW);
hold on
circle([stats(2,1).Centroid(1,1),stats(2,1).Centroid(1,2)],345,10000,':');
plot(stats(2,1).Centroid(1,1),stats(2,1).Centroid(1,2),'r*');

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 11월 17일
saveas() or print()
  댓글 수: 1
ramakrishna bathini
ramakrishna bathini 2011년 11월 17일
Thank you sir..
saveas(gcf,'NewCircle','jpg'); did the work

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by