[SciPy-User] weired results with ode solver
Warren Weckesser
warren.weckesser at enthought.com
Sat Feb 6 13:58:27 EST 2010
Oz Nahum wrote:
<snip>
> from pylab import *
> plot(timerange/86400, c[:,0], 'bo')
> plot(timerange/86400, c[:,1], 'go')
> plot(timerange/86400, c[:,2], 'ko')
> show()
>
>
>
<snip>
> A line plot would be nice.
>
>
P.S.
To get a line plot, just change the style arguments of the plot
functions. E.g.:
plot(timerange/86400.0, c[:,0], 'b')
plot(timerange/86400.0, c[:,1], 'g')
plot(timerange/86400.0, c[:,2], 'k')
More information about the SciPy-User
mailing list