imwrite to save surf plot with axes title and title

3 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Title 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by