专栏
标签
bode图怎么实现上下图框都加网格?
技术分享
发布于 2025-07-22 14:46:53
查看 1过去315天

问题现象

bode图,grid(“on”) 后只有下面的图框加了网格,怎么实现上下图框都加网格呢。
image.png

解决方法

使用subplot函数对上下两个子图添加网格。

using TyControlSystems
using TyPlot

H = tf([1, 0.1, 7.5], [1, 0.12, 9, 0, 0]);
bode(H)
subplot(2, 1, 1)
grid("on")
subplot(2, 1, 2)
grid("on")

image.png

所属专栏:工具箱
产品信息:控制器设计工具箱
系统建模

全部回答

暂无数据
暂无数据
用户
和原帖交流更多问题细节吧,去
我要发帖 我要发帖
资料中心 资料中心
查看更多>
热门帖子 热门帖子
主要贡献者 主要贡献者
过去7天