matlab中grid函数的具体使用方法是什么?

2024-12-02 18:20:59
推荐回答(1个)
回答(1):

在matlab中输入 help grid.得到如下提示
GRID Grid lines.
GRID ON adds major grid lines to the current axes.
GRID OFF removes major and minor grid lines from the current axes.
GRID MINOR toggles the minor grid lines of the current axes.
GRID, by itself, toggles the major grid lines of the current axes.
GRID(AX,...) uses axes AX instead of the current axes.

GRID sets the XGrid, YGrid, and ZGrid properties of
the current axes.

即在画图中设置网格线