Save data plot in GUI into a file, and may open it back?

2 views (last 30 days)
I got problem to save data in GUI. How to solve it? My project is about plot a graph, then I want it save in some file, so that next time I may open it back.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 7 Aug 2014
h=plot(x,y)
hgsave(h,'your_figure')
To open your_figure
hgload('your_figure')

More Answers (0)

Community Treasure Hunt

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

Start Hunting!