matlab gca命令的功能

matlab gca命令的功能

ax = gca returns the current axes or chart for the current figure, which is typically the last one created or clicked with the mouse.

ax = gca 返回当前图形的当前轴或图表,通常是用鼠标创建或单击的最后一个轴。

Graphics functions, such as title, target the current axes or chart. Use ax to access and modify properties of the axes or chart. If axes or charts do not exist, then gca creates Cartesian axes.

图形功能(例如标题)以当前轴或图表为目标。 使用ax访问和修改轴或图表的属性。 如果轴或图表不存在,则gca创建笛卡尔坐标轴。