I have two wind rose figureļ¼that had been saved as figure document.
I try to open the wind rose figure and import them into the same figure.
but it dosen't work
this is my code
close allfig=struct();for items_b=1:length(data_name) fig(items_b).x1=openfig([aim,'\',strrep('ty stationw','w',data_name(items_b)),figure_type]); fig(items_b).ax1=gca; fig3 = figure; fig(items_b).s1 = subplot(4,2,items_b); fig(items_b).fig1 = get(gca,'children'); copyobj(fig(items_b).fig1,fig(items_b).s1); fig(items_b).x2=openfig([aim,'\',strrep('noty stationw','w',data_name(items_b)),figure_type]); fig(items_b).ax2=gca; fig4= figure; fig(items_b).s2 = subplot(4,2,items_b); fig(items_b).fig2 = get(gca,'children'); copyobj(fig(items_b).fig2,fig(items_b).s2); end
Best Answer