which command should be used in Matlab to save a figure?

2 vues (au cours des 30 derniers jours)
Sameer
Sameer le 25 Mai 2014
Hello all
I want to save the obtained figure as a file automatically. I don't have much idea how i can do it in Matlab. Please Help!!
Thanking you in anticipation.
Regards

Réponse acceptée

Image Analyst
Image Analyst le 27 Mai 2014

Plus de réponses (1)

Ioannis
Ioannis le 27 Mai 2014
Modifié(e) : Ioannis le 27 Mai 2014
You can use print and save it in pdf format. e.g. you just created a graph, then type print -dpdf nameofyourgraph and it will save it in your default matlab path

Catégories

En savoir plus sur Graphics Object Identification dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by