Matlab清除坐标轴中的已有图形用什么命令

2025-04-13 21:20:08
推荐回答(3个)
回答1:

用cla命令,清除坐标轴中的图形,且不关闭坐标轴。

回答2:

>> help cla
cla Clear current axis.
cla deletes all children of the current axes with visible handles and resets
the current axes ColorOrder and LineStyleOrder..

cla RESET deletes all objects (including ones with hidden handles)
and also resets all axes properties, except Position and Units, to
their default values.

cla(AX) or cla(AX,'RESET') clears the single axes with handle AX.

清除所有坐标轴用clf

回答3:

clf命令就可以帮你完成