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

OSCHINA-MIRROR/nanxun-pythonshujukeshihuajiantu

Клонировать/Скачать
子图.py 292 Байты
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
nanxun Отправлено 05.07.2017 09:22 cf2f5f0
#coding:utf-8
import matplotlib.pyplot as plt
import numpy as np
x=np.arange(1,100)
fig=plt.figure()
'''
add_subplot
参数一:子图总行数
参数二:子图总列数
参数三:子图位置
'''
ax1=fig.add_subplot(221)
ax1.plot(x,x)
# ax1.show()
ax2=fig.add_subplot(222)
ax2.plot(x,x)

Опубликовать ( 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