How can i got an image of a plot???
1 view (last 30 days)
Show older comments
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 !!
0 Comments
Accepted Answer
Star Strider
on 6 Nov 2015
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 Comments
More Answers (1)
Image Analyst
on 7 Nov 2015
See http://www.mathworks.com/matlabcentral/fileexchange/?utf8=%E2%9C%93&term=export_fig, as recommended by the FAQ
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!