1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/nanxun-pythonshujukeshihuajiantu

Клонировать/Скачать
坐标轴范围.py 263 Байты
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
nanxun Отправлено 05.07.2017 09:22 cf2f5f0
#coding:utf-8
import matplotlib.pyplot as plt
import numpy as np
x=np.random.rand(5)
fig=plt.figure()
ax1=fig.add_subplot(111)
ax1.plot(x,x*x)
'''
调整坐标轴
ax1.axis([xmin,xmax,ymin,ymax])
ax1.set_xlim(xmin,xmax)
ax1.set_ylim(ymin,ymax)
'''
plt.show()

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/nanxun-pythonshujukeshihuajiantu.git
git@api.gitlife.ru:oschina-mirror/nanxun-pythonshujukeshihuajiantu.git
oschina-mirror
nanxun-pythonshujukeshihuajiantu
nanxun-pythonshujukeshihuajiantu
master