Saving the plotted data into a new image

1 vue (au cours des 30 derniers jours)
ramakrishna bathini
ramakrishna bathini le 17 Nov 2011
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*');

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 17 Nov 2011
saveas() or print()
  1 commentaire
ramakrishna bathini
ramakrishna bathini le 17 Nov 2011
Thank you sir..
saveas(gcf,'NewCircle','jpg'); did the work

Connectez-vous pour commenter.

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by