How can I save plot in my gui to file?
Show older comments
Hi.
My question is as simple as it looks like. I've tried many ways to do it, but it is still not doing, what I want. I have a gui, which contains axes, where my plot is displayed. And I need to save this plot to file (of whatever extension).
In forums there are a lot of solutions and some of them particulary worked. That means the figure wasn't complete (just a part of it has been saved in file) or in file has been saved something like printscreen of my gui.
Is there a simple solution for that? Thank you very much for any answers.
5 Comments
Jan
on 9 Jan 2013
Please post what you have tried so far. The answer depends on the format you want to save the file in, e.g. EMF, PDF, FIG or PNG, so please specify this.
JoE
on 10 Jan 2013
JoE
on 10 Jan 2013
Jan
on 10 Jan 2013
Then please post the code you have tried and explain the occurring problems with details, e.g. if the result differs from your expectations or you get an error message.
JoE
on 19 Feb 2013
Answers (1)
Image Analyst
on 9 Jan 2013
0 votes
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!