Saving an Axes component

Using GUIDE, I have created four axes components. these are labelled axes1, axes2, axes3 & axes4.
After plotting charts to these "place holders" axes, I now want to save them as individual jpg's. i have read that you should convert them to figures first, but this seems pointless to have create two copies of the same graph. Is there a way to just save exactly what is displayed on each of the axes components?

1 Comment

Jason
Jason on 28 Mar 2011
I did try this:
saveas(handles1.axes, fullfile(Pname, 'graph1.jpg'))

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 28 Mar 2011

Community Treasure Hunt

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

Start Hunting!