How can i got an image of a plot???

Hey i want to take a plot as an image via matlab.It's about my project report and i don't know how to do it.
Thank you !!

 Risposta accettata

Star Strider
Star Strider il 6 Nov 2015

2 voti

The easiest way is to do it directly from the plot GUI itself. Click the image of the floppy disk in the upper left corner of the GUI, choose a name and the appropriate format (I prefer .png), and save it to the directory of your choice. The advantage of this is that if you have a 3D plot and you want to rotate it, the saved image saves the rotation as well.
If you want to adjust it later (rotation or other calculations), save it as a .fig file. You can later open it in MATLAB using the openfig function.

2 Commenti

My pleasure.
I would have appreciated your Accepting my Answer, though.
Verisign's "Answer" moved here:
Oh yes !It is is so easy thank you!! :)

Accedi per commentare.

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by