Focus on a certain Subplot
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
VerunicaM
am 16 Apr. 2016
Kommentiert: VerunicaM
am 21 Apr. 2016
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 Kommentar
Shivam Chaturvedi
am 19 Apr. 2016
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.
Akzeptierte Antwort
Renato Agurto
am 19 Apr. 2016
Bearbeitet: Renato Agurto
am 19 Apr. 2016
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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Subplots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!