wei23

import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_axes([0.1,0.1,0.8,0.8])
inner_ax = fig.add_axes([0.6,0.6,0.25,0.25])
x1 = np.arange(10)
y1 = np.array([1,2,7,1,5,2,4,2,3,1])
x2 = np.arange(10)
y2 = np.array([1,3,4,5,4,5,2,6,4,3])
ax.plot(x1,y1)
inner_ax.plot(x2,y2)
plt.show()

 

 

分类:

技术点:

相关文章:

  • 2021-06-12
  • 2022-02-18
  • 2021-04-22
  • 2021-12-21
  • 2021-12-02
  • 2022-12-23
  • 2021-11-09
  • 2021-09-11
猜你喜欢
  • 2021-04-22
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
  • 2021-12-20
相关资源
相似解决方案