save plot on axes as a fig file for later use

16 ビュー (過去 30 日間)
Jack
Jack 2011 年 4 月 1 日
Hi
i wanted to know, that in my program i have an axes which i plot the hough matrix and then on the graph i plot the peaks which have a voting more than 10. i display it on the axes. i want to save that plot as a fig file so late i can retieve the fig file and x and y peak values in a different gui. i heard you use export_fig
would you do it the following way.
axes(handles.axes1); fig=isolate_subplot(gca); i=copyfig(fig); export_fig(gcf,'file','fig');
thanks

回答 (1 件)

Paulo Silva
Paulo Silva 2011 年 4 月 1 日
saveas(handles.axes1,'axes1.fig','fig');

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by