i have subplot 5 five figure by selecting 5 rows from a dataset. Now i want to plot this one only one y and x axis ,there should not be any white spaces.My dataset size is 125*694 , from whch i have plot 5 rows. Y axis should be 0-3470 !!
1 view (last 30 days)
Show older comments
fig1 = open('1st electrode.fig');
fig1_ax = gca; %gets current axis and stores into handle fig1_ax
fig2 = open('2nd electrode.fig');
fig2_ax = gca;
fig3 = open('3rd electrode.fig');
fig3_ax = gca;
fig4 = open('4th electrode.fig');
fig4_ax = gca;
fig5 = open('5th electrode.fig');
fig5_ax = gca;
figure; % The new figure
P = subplot(1,5,1);
copyobj(get(fig1_ax,'children'),P)
P = subplot(1,5,2);
copyobj(get(fig2_ax,'children'),P)
P = subplot(1,5,3);
copyobj(get(fig3_ax,'children'),P)
P = subplot(1,5,4);
copyobj(get(fig4_ax,'children'),P)
P = subplot(1,5,5);
copyobj(get(fig5_ax,'children'),P)
0 Comments
Answers (1)
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!