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

Home » Public Forums » archive » Re: Histogram saga
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: Histogram saga [message #48832 is a reply to message #48831] Mon, 22 May 2006 12:44 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Mon, 22 May 2006 07:26:50 -0600, David Fanning wrote:

> Daelomin writes:
>
>> I just looked at all the archives with histogram related problems..
>>
>> I am quite surprised to see that it's not fixed in 6.2. I recently had a
>> problem with my data: I plot 86140 points of data that range from [8,75]
>> but somehow IDL creates bogus values between 0 & 8 !!
>>
>> If I include another point in the array (say array2=fltarr(86141) &
>> array2[0:86139]=array1[*]) which value is 0, I then get the proper
>> histogram I would have expected. Namely it has a flat line between 0 & 8
>> and picks up at the minimum...
>>
>> I just find this really really weird...
>
> Well, we'll add it to the list... :-)
>
> Pretty much everyone, by now, has learned how to fudge the HISTOGRAM
> output to get something that looks more like a histogram plot. Here is how
> I do it:

That's just a deficiency of the PSYM=10, and is a plotting issue (one
we all come across eventually). The original poster claims HISTOGRAM
is inventing values where there are none. I find this highly doubtful.
Try LOCATIONS=l and ensure your bin locations are where you think
there are.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Create new arrays from series of subsequent integers in an existing array
Next Topic: Using WIDGET_ACTIVEX to create a Socket server

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

Current Time: Thu Oct 09 19:15:14 PDT 2025

Total time taken to generate the page: 0.80096 seconds