Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 564 Bytes

6.7-确定坐标范围.md

File metadata and controls

13 lines (7 loc) · 564 Bytes

6.7 确定坐标范围

在 Matplotlib中,使用 xlim(x,y)和 ylim(x,y)函数可以确定坐标范围(见文件axis_limit.py),代码如下。

img

img

绘图结果如图6-8所示。

img

图6-8 确定坐标范围的绘图