Thank you for the help!

Daπid wrote:
> 
> On Sat, Jul 28, 2012 at 12:22 AM, surfcast23 <surfcas...@gmail.com> wrote:
>> Am I reading  (bins[1]-bins[0]) correctly as taking the difference
>> between
>> what is in the second and first bin?
> 
> Yes. I am multipliying the width of the bins by their total height.
> Surely there are cleaner and more general ways
> (say, when the bins are of different width), but this one does the
> trick for most cases.
> 
> And, if you have many data points, you can increase the number of bins
> (typically the square root of the number of points, if you have enough
> density)  and get a more precise profile. In that case you would want
> to change the parameter of hist histype='stepfilled'
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/ValueError%3A-x-and-y-must-have-same-first-dimension-tp34218704p34223136.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to