>> The problem is that I have a data set >> with ~1250 so I cant' do the sorting or finding the mean by hand.
That's not a problem--that's programming! Even if you had a data set with five items you should be in the mind set that "by hand" is an 18th century approach. This will drive further progress in your coding abilities. > I think you really need to read up on the NumPy documentation. There are > functions that will do this for you. NumPy can load/save data, sort them, > bin them, find means and standard deviations, etc... You don't need to > re-invent the wheel. Ben, that's a good idea. The only thing here, though, is that probably the OP would be well served in practicing Python basics and learning how to think up procedures, write them down, and then put them into Python code. Re-inventing the wheel, *at least to learn* could really be useful here. I've also found that sometimes it is easier to just reinvent a wheel than learn a library's API, at least to get started. Considering his task requires mostly just creating lists based on conditionals and then doing some 5th grade math, he might want to try it himself before he uses NumPy. But of course he can get there either way. Che ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users