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

Home » Public Forums » archive » 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 #16424 is a reply to message #16362] Wed, 21 July 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Gabriel Rodriguez (gabriel@gbt.tfo.upm.es) writes:

> Maybe the problem is how IDL makes the 'histogram' plot. According to the
> manual setting the PSYM=10 is:
>
> "Histogram mode. Horizontal and vertical lines connect the plotted
> points, as opposed to the normal method of connecting points with
> straight lines."
>
> But it is not clear for me if the point is in the middle of each 'step'
> in the histogram, or to the left or the right of each step.

This is the problem. The point is in the middle of each step.
But the bin goes from the start of one step to the start of
the next.

> From what I see in your plot: if you move the vertical line one half
> 'binsize' or 'step' to the left you might be getting the right value?

Yes, exactly. But if I move the vertical line one half bin size,
then I don't have the right *value*, and that, after all, is what
I am after here. :-) The vertical line is in the right place.
It is the histogram plot that is screwy. Although I realize
no one believes me, I think the ONLY solution is to draw your
own histograms. :-)

> One posible way to see it is displaying a symbol where the exact value
> is.

Exactly. This is, in fact, how I eventually solved the problem.

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
Read Message
Previous Topic: Re: Contour `wrapping' problem
Next Topic: Re: Compile Problem with IDL5.2

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

Current Time: Fri Oct 10 16:25:39 PDT 2025

Total time taken to generate the page: 1.12542 seconds