comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » bimodal distribution
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: bimodal distribution [message #73750 is a reply to message #73564] Tue, 23 November 2010 13:25 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dick Jackson writes:

> I think these do give a bimodal distribution, but they overlap a lot.
> This might help, separating them by an extra two units:
>
> met_1a = randomn(seed,100000)*0.3-1.2 -1
> met_1b = randomn(seed,100000)*0.3-0.7 +1
> plot,histogram([met_1a,met_1b],binsize=0.1),psym=10
>
> Note: the X axis is off here, as you need to wrestle with Histogram()
> and Plot() to get them right, but I think this makes the point.

No wrestling needed with Histoplot. :-)

IDL> Histoplot,[met_1a,met_1b], Binsize=0.1

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: idlwave w/ idl8?
Next Topic: Questions about IDL 8.0

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:02:08 PDT 2025

Total time taken to generate the page: 0.00375 seconds