Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个“标准”的 2d 情节,没有 3D 的东西。我的 x 轴范围为 [0 1000],我的 y 轴范围为 [-5 2400]。我想在绘图后自动设置视图
x:[200 800] y:[400 1000]
(举个例子)。我怎样才能做到这一点?
使用xlim()和ylim()函数。
xlim()
ylim()