Filter löschen
Filter löschen

imwrite to save surf plot with axes title and title

3 Ansichten (letzte 30 Tage)
Mary Caroline
Mary Caroline am 3 Mär. 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

Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by