How can I change background color in Bode plots?
10 次查看(过去 30 天)
显示 更早的评论
I tried the following code:
bode(tf([1],[1 1]))
set(gca, 'color','yellow')
The background color is applied to the second subplot only (phase plot).

How can I apply the effect to both of them?
0 个评论
采纳的回答
Star Strider
2021-4-2
Try this:
figure
bode(tf([1],[1 1]));
Fg = gcf;
set(Fg.Children(2), 'Color','y')
set(Fg.Children(3), 'Color','y')
.
3 个评论
Star Strider
2021-4-2
As always, my pleasure!
It is generally not straightforward with the Control System figures, so changing them can be a challenge. I needed to do a bit of exploring to find that this was an option, and then exp[eriment to determine how to do it.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!