import matplotlib
.pyplot
as plt
plt
.figure
()
ax1
=plt
.subplot2grid
((3,3),(0,0),colspan
=3,rowspan
=1)
ax1
.plot
([1,2],[1,2])
ax1
.set_title
('pic1')
ax2
=plt
.subplot2grid
((3,3),(1,0),colspan
=2,rowspan
=1)
ax3
=plt
.subplot2grid
((3,3),(1,2),colspan
=2,rowspan
=1)
ax4
=plt
.subplot2grid
((3,3),(2,0))
plt
.show
()
转载请注明原文地址: https://mac.8miu.com/read-490792.html