Info

This question is closed. Reopen it to edit or answer.

I have multiple pre-made figures which I wish to combine all on top of each other keeping the same axis

1 view (last 30 days)
I have a group of figures all from separate folders. All the figures have the same name, axis and legends. Is there anyway the figures can be gotten from the separate folders and loaded on top of each other to show the different points with the same legend. Below is the code I have so far but this simply subplots the figures. The folders are named A,B,C and so on.
for i=1:13
for Alphabet=('A':'Z').';
[I] =(1:26);
[I]=[I]';
J=[Alphabet(I(:))];
J=strvcat(Alphabet);
addpath('{J}');
load('FI.fig');
end
h(i) = subplot(13,1,i);
end
set(h, 'box', 'off');
set(h(1:4),'xcolor','w');
linkaxes(h');
save('combin');
This is a picture of the figures created. I need to be able to add multiple of these all on top of each other keeping one legend. Is this possible.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!