本文共 495 字,大约阅读时间需要 1 分钟。
编辑部的主页:好像没啥用
每章的代码,github上面的:中文版
github上面,英文版:
项目主页:
中文在线的书:
# -*- coding: utf-8 -*-"""Created on Mon Jun 29 21:36:11 2015@author: season"""from PIL import Image;from pylab import *;im = array(Image.open('lena.jpg'))imshow(im)x = [100, 100, 400, 400]y = [200, 500, 200, 500]plot(x, y, 'r*')plot(x[:2], y[:2])#axis('off')title('Plotting: "empire.jpg"')show()