Save (Axes) As in GUI
Show older comments
Hi,
I am using Matlab GUI (guide) to do some calculation and the results appear as a curve in figure (axes1). I would like to save the figure of this curve.
I created a push button (pushbutton1), and I inserted many different codes the problem with most of them are
- It saves the whole GUI window not only the (axes1)
- When the save window is opened to wirte the file name/path, if the user click on cancel it will break down and an eeror is appearing
Thx
Accepted Answer
More Answers (0)
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!