I don't know what dumb thing I'm going but I can't seem to plot
2 horizontal lines on the same plot!!!


Why does this snippet give a *BLANK* plot when I run it?

(Either line separately seems to be ok!?!?)

import pylab
x1 = pylab.arange(-10, 10, 0.01)
x2 = pylab.arange(  0, 10, 0.01)
f1 = [0 for e in x1]
f2 = [1 for e in x2]
pylab.show(pylab.plot(x1, f1, x2, f2))


Chris

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to