|
From: Xavier G. <xav...@gm...> - 2009-10-11 23:10:20
|
Hi, Imagine you have something like: from pylab import * t = arange(0.0, 2.0, 0.01) s = sin(2*pi*t) ax = subplot(111) ax.plot(t, s) That's fine but now I would like to plot the negative parts of the curve in red and the positive one in green. Is there a nice pylab oriented way to do that? Some kind of "conditional formating"? Xavier |