[SciPy-User] density map?

josef.pktd at gmail.com josef.pktd at gmail.com
Mon Aug 29 19:03:14 EDT 2011


On Mon, Aug 29, 2011 at 6:58 PM, Sebastian Bassi <sbassi at gmail.com> wrote:
> Hello,
>
> I have a 2-D Numpy array with intensity data.
> I'd like to plot it like this
> http://crocdoc.ifas.ufl.edu/images/posters/ecologyofgatorholes/9_figure6.gif
> For each value in a position, it will be colored with a color, if the
> value is higher the color will be more intense (maybe from blue to
> red).
> All examples I found on http://www.scipy.org/Cookbook/Matplotlib/ were
> using functions instead of data from a matrix/array.
> Any idea?

scipy.stats.gaussian_kde

https://picasaweb.google.com/106983885143680349926/Joepy#5611180522655961714

or some other non-parametric density estimator

Josef


> Best,
> SB.
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list