Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72718 > unrolled thread

Matplotlib - specifying bin widths

Started byJamie Mitchell <jamiemitchell1604@gmail.com>
First post2014-06-05 08:54 -0700
Last post2014-06-06 14:37 +0100
Articles 4 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Matplotlib - specifying bin widths Jamie Mitchell <jamiemitchell1604@gmail.com> - 2014-06-05 08:54 -0700
    Re: Matplotlib - specifying bin widths Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-05 22:31 +0100
    Re: Matplotlib - specifying bin widths Jamie Mitchell <jamiemitchell1604@gmail.com> - 2014-06-06 02:03 -0700
      Re: Matplotlib - specifying bin widths Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-06 14:37 +0100

#72718 — Matplotlib - specifying bin widths

FromJamie Mitchell <jamiemitchell1604@gmail.com>
Date2014-06-05 08:54 -0700
SubjectMatplotlib - specifying bin widths
Message-ID<6c03b51c-73ba-46b2-a706-368ac084b2c0@googlegroups.com>
Hello all!

Instead of setting the number of bins I want to set the bin width.

I would like my bins to go from 1.7 to 2.4 in steps of 0.05.

How do I say this in the code?

Cheers,

Jamie

[toc] | [next] | [standalone]


#72768

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-06-05 22:31 +0100
Message-ID<mailman.10771.1402004106.18130.python-list@python.org>
In reply to#72718
On 05/06/2014 16:54, Jamie Mitchell wrote:
> Hello all!
>
> Instead of setting the number of bins I want to set the bin width.
>
> I would like my bins to go from 1.7 to 2.4 in steps of 0.05.
>
> How do I say this in the code?
>
> Cheers,
>
> Jamie
>

This should help 
http://stackoverflow.com/questions/6986986/bin-size-in-matplotlib-histogram

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

[toc] | [prev] | [next] | [standalone]


#72825

FromJamie Mitchell <jamiemitchell1604@gmail.com>
Date2014-06-06 02:03 -0700
Message-ID<854998df-012e-41ee-989c-75e12894232a@googlegroups.com>
In reply to#72718
On Thursday, June 5, 2014 4:54:16 PM UTC+1, Jamie Mitchell wrote:
> Hello all!
> 
> 
> 
> Instead of setting the number of bins I want to set the bin width.
> 
> 
> 
> I would like my bins to go from 1.7 to 2.4 in steps of 0.05.
> 
> 
> 
> How do I say this in the code?
> 
> 
> 
> Cheers,
> 
> 
> 
> Jamie

That's great thanks Mark.

[toc] | [prev] | [next] | [standalone]


#72843

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-06-06 14:37 +0100
Message-ID<mailman.10813.1402061863.18130.python-list@python.org>
In reply to#72825
On 06/06/2014 10:03, Jamie Mitchell wrote:
> On Thursday, June 5, 2014 4:54:16 PM UTC+1, Jamie Mitchell wrote:
>> Hello all!
>>
>>
>>
>> Instead of setting the number of bins I want to set the bin width.
>>
>>
>>
>> I would like my bins to go from 1.7 to 2.4 in steps of 0.05.
>>
>>
>>
>> How do I say this in the code?
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Jamie
>
> That's great thanks Mark.
>

No problem :)

In return would you please use the mailing list 
https://mail.python.org/mailman/listinfo/python-list or read and action 
this https://wiki.python.org/moin/GoogleGroupsPython to prevent us 
seeing double line spacing and single line paragraphs, thanks.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web