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

Home » Public Forums » archive » Re: There is NO TRUTH! Re: Histogram Hot-shots Required
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: There is NO TRUTH! Re: Histogram Hot-shots Required [message #16361 is a reply to message #16346] Tue, 20 July 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Fanning (davidf@dfanning.com) writes:

> More evidence that the apocalypse is upon us....

Forget it, problem solved. The bottom line: draw
your own *&%@# histogram plots with the PLOTS command.

Best method is:

; Liam's method 1:

binNum1 = FLOOR((value - Min(array)) / binsize)

But you have to draw your *OWN* histogram plots, or
your graphical representation will *never* look like
what it is suppose to look like:

Plot, bins, histdata, /NoData, XRange=range, XStyle=1
FOR j=0,N_Elements(bins)-2 DO BEGIN
PlotS, [bins[j], bins[j], bins[j+1], bins[j+1]], $
[0, histdata[j], histdata[j], 0], Color=yellow
ENDFOR
PLOTS, [value, value], !Y.CRange

Whew! Now I *WILL* have a beer.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Seeking IDL Programmers with Interests in Coastal Oceanography/Geology
Next Topic: Re: CALL_EXTERNAL failure.

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

Current Time: Sun Oct 12 07:16:39 PDT 2025

Total time taken to generate the page: 0.08705 seconds