在sagemath教程中 有相当于matlab中hold on/hold off命令吗

在matlab中 hold on与 hold off 的作用是控制是否让之后嘚作图覆盖之前的作图若要保留之前作图,需要命令 hold on(每次打开matlab默认的状态是 hold off)。当不需要保留时可以再改回 hold off。

这时画图会得到两條曲线如果没有 hold on(之前是默认的 hold off 状态),则 cos 曲线会把 sin 曲线覆盖

你对这个回答的评价是?

我要回帖

更多关于 sagemath 的文章

 

随机推荐