フィルターのクリア

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 Center および File ExchangeSubplots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by