淘先锋技术网

首页 1 2 3 4 5 6 7
import scipy.misc
import scipy.misc as sm
import matplotlib.pyplot as plt
lena= sm.lena()
acopy =lena.copy()

aview=lena.view()


aview.flat=0
plt.imshow(aview)

plt.show()


plt.subplot(1,2,1)
plt.imshow(lena)
plt.subplot(1,2,2)
plt.imshow(acopy)
plt.show()