Change the output Y-labels in a figure of a multi-output dynamic system
6 次查看(过去 30 天)
显示 更早的评论
I don't know how I can change the names of the Y-labels out(1), out(2), out(3) and out(4) in this multiplot figure...
1 个评论
maffew
2020-2-29
You could either throw these into multiple plots with step(sys(1))
OR
You could use subplots. For example,
figure
subplot(2,1,1)
step(sys(1))
ylabel('Output 1')
subplot(2,1,2)
step(sys(2))
ylabel('Output 2')
Unfortunately, you lose the larger label. There's a number of options for that. Looks like someone made a thing, https://www.mathworks.com/matlabcentral/fileexchange/7772-suplabel
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!