[pymvpa] how to create a histogram for the searchlight results?

Yaroslav Halchenko debian at onerussian.com
Fri Mar 11 21:06:04 UTC 2011


try
import pylab as pl
pl.hist(....

you might benefit from getting familiar with Python itself
http://www.pymvpa.org/tutorial_prerequisites.html#recommended-reading-and-viewing


On Fri, 11 Mar 2011, Glen Lee wrote:
>     I'm going over the tutorial and I'd like to create a histogram for the
>    exercise (e.g., hist(sphere_errors, bins=np.linspace(0, 1, 18)).
>     However, the python spits out the error saying "name 'hist' is not
>    defined.
>     Does anybody know what this happened? (I'm also new to the python
>    programming)
-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic



More information about the Pkg-ExpPsy-PyMVPA mailing list