Focus on a certain Subplot

조회 수: 4 (최근 30일)
VerunicaM
VerunicaM 2016년 4월 16일
댓글: VerunicaM 2016년 4월 21일
I have created a state-space model with 26 inputs and 7 outputs. Hence the step-response function creates a very large figure with 7x26 subplots. Is there a convenient way to focus/zoom into a single subplot?
  댓글 수: 1
Shivam Chaturvedi
Shivam Chaturvedi 2016년 4월 19일
Have you tried saving the figure as an image? If you just want to have a look at the figure, you can save it using print command with output as a an SVG image (since it will keep the resolution proper) and choose a high resolution.

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

채택된 답변

Renato Agurto
Renato Agurto 2016년 4월 19일
편집: Renato Agurto 2016년 4월 19일
Hello
you can save the step output in variables and then plot the ones you are interested in:
[y,t] = step(sys);
input = 20;
output = 4;
figure;
plot(t,y(:, output, input))
I hope this helps
  댓글 수: 1
VerunicaM
VerunicaM 2016년 4월 21일
Thanks! This is exactly what I was looking for.

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

추가 답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by