Hi Ping,
don't know if it could help you :
from pylab import *
> d = Table("xyt.dat")
x,y,t = load("xyt.dat", unpack=true)
> d.plot("x", "t") # make a plot of x vs. t, N points are drawn
plot(t, x)
> d.plot("x") # make a histogram plot of x, N entries in the histogram
bar(range(len(x)), x)
> d.plot("x", "y < 3") # make a histogram plot of x where y is less than 3.
ind = find(y < 3)
xi = x[ind]
bar(range(len(xi)), xi)
Cheers
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users