非原创。很好的python例子

源代码在线查看: figimage_demo.py

软件大小: 959 K
上传用户: q116026490
关键词: python
下载地址: 免注册下载 普通下载 VIP

相关代码

				#!/usr/bin/env python				"""				See pcolor_demo2 for a much faster way of generating pcolor plots				"""				from __future__ import division				from pylab import *				rc('axes', hold=True)				rc('image', origin='upper')				figure(1, frameon=False)				Z = arange(10000.0); Z.shape = 100,100				Z[:,50:] = 1				jet() # sets the default				im1 = figimage(Z, xo=50,  yo=0)  				im2 = figimage(Z, xo=100, yo=100, alpha=.8)				#gray()  # overrides current and sets default				#savefig('figimage_demo')								show()								    							

相关资源