Re: [Matplotlib-users] data format question

2013-03-06 Thread Paul Hobson
On Wed, Mar 6, 2013 at 2:00 PM, Clifford Lyon wrote: > I wish to make a boxplot with data in this format: > > Value, Frequency > 0, 128329 > 1, 20390 > 2, 230 > 3, 32 > 4, 3 > > etc. Rather than expand this into a flat array, is there some way to pass > in weights for values? Some of the frequen

[Matplotlib-users] data format question

2013-03-06 Thread Clifford Lyon
I wish to make a boxplot with data in this format: Value, Frequency 0, 128329 1, 20390 2, 230 3, 32 4, 3 etc. Rather than expand this into a flat array, is there some way to pass in weights for values? Some of the frequencies I'm working with are very large, and so the resulting arrays would be

[Matplotlib-users] conflict between stacked and normed in hist?

2013-03-06 Thread Wayne Hajas
I am trying to use stacked and normed at the same time. I have thought about it - and I think it does make sense for what I want to do. Below is some code and a figure that demonstrate the problem. There are two histograms. Both use teh same data. Both are stacked. The top histogram uses nor

Re: [Matplotlib-users] color missing value with contourf

2013-03-06 Thread Benjamin Root
On Tue, Mar 5, 2013 at 5:33 PM, Mahe wrote: > > Benjamin Root writes: > > > > > On Tue, Feb 1, 2011 at 11:09 AM, Francesco Benincasa > duyntnmy...@public.gmane.org> wrote: > > > > Hi all, > > I'm using pygrads for plotting maps from netcdf files. > > I use the contourf method, but I'm not able