2011-08-29 matplotlibで面グラフを書く python 適当なグラフですみません。 from pylab import * x = range(10) y1 = list(sin(x)) y2 = [sin(i)-0.2 for i in range(10)] fx = x + x[::-1] fy1 = y1 + y2[::-1] fy2 = y2 + [-1 for i in range(10)] ylim(-1) fill(fx,fy2, fx,fy1) plot(x, y1, "go", x, y2, "bo") show()