Focus on a certain Subplot
8 次查看(过去 30 天)
显示 更早的评论
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
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
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!