Effacer les filtres
Effacer les filtres

imwrite to save surf plot with axes title and title

3 vues (au cours des 30 derniers jours)
Mary Caroline
Mary Caroline le 3 Mar 2014
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

Réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by