cinderblue
Electrical
- Nov 21, 2005
- 4
Hi,
I've created a GUI using the guide program within Matlab V7. I have a few "axes" located on the layout, some that just show images, and one that plots data. I would like to save the plotted data, but I'm having problems figuring out how to grab the correct axes/object/image/?. The name of the axes is "main_graph". My idea was something like:
axes(handles.main_graph)
saveas(handles.main_graph,'testfile','bmp')
The problem is, more then just the main_graph object are saved (the entire GUI gets saved). What's the solution?
Thanks,
DJ
I've created a GUI using the guide program within Matlab V7. I have a few "axes" located on the layout, some that just show images, and one that plots data. I would like to save the plotted data, but I'm having problems figuring out how to grab the correct axes/object/image/?. The name of the axes is "main_graph". My idea was something like:
axes(handles.main_graph)
saveas(handles.main_graph,'testfile','bmp')
The problem is, more then just the main_graph object are saved (the entire GUI gets saved). What's the solution?
Thanks,
DJ