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 (최근 30일)
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)

답변 (1개)

Walter Roberson
Walter Roberson 2016년 3월 8일
  댓글 수: 2
subhendu roy
subhendu roy 2016년 3월 8일
thanks sir, but the image is coming is overlapping each other means each row point comes above of another one.. Y axis come 0-700 where it should come to 0-3470 , for each row it should plot 0-694 then 695-1388 ....I can't send you the image because of limitation for sending image for a day..i can send you the figure in your mail !! Thanking you
subhendu roy
subhendu roy 2016년 3월 8일
편집: subhendu roy 2016년 3월 9일
>>
>>
here is the figure i am getting after written the code. but you can see that each row is overlapping to others here. is there any solution for to make each row plotting in separate !! Thanking you advance
But i want like these one ...!!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by