imwrite to save surf plot with axes title and title

1 view (last 30 days)
Hi,
I have created a GUI with several axes and plots. I also have pushbuttons corresponding to each plots to extract the axes content and save it as a bmp using imwrite.
[filename filepath] = uiputfile('transfer_function.bmp','Save As');
fullpath=strcat(filepath,filename);
F = getframe(handles.transfer_function_axes);
IM = frame2im(F);
imwrite (IM, fullpath)
My problem is that I don't have the axis title ( x and y name), nor the name of the plot being extracted. Is there a way to extend the informations being used with imwrite, or a way to add them afterwards on the bmp file created ?
I am aware of the file on the file exchange, but it seems too complex/heavy for what I wish to do.
Cheers

Answers (0)

Categories

Find more on Images 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!