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

Home » Public Forums » archive » Re: hist_norm
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: hist_norm [message #73323 is a reply to message #73322] Tue, 02 November 2010 19:10 Go to previous messageGo to previous message
le.davide is currently offline  le.davide
Messages: 18
Registered: November 2010
Junior Member
Hi, thanks for your quick answer.
I found hist_norm.pro here: http://sprg.ssl.berkeley.edu/~fastsw/idlUtil/misc/
it does not work in the sense that if I run the small code showed in
the first post I get:
% Variable is undefined: DEFINED.
% Execution halted at: HIST_NORM 69 /Users/davide/
IDLWorkspace71/Default/astron/pro/hist_norm.pro
% ISTOG 10 /Users/davide/
IDLWorkspace71/Default/Default/istog.pro
% $MAIN$

instead of an histogram.


On Nov 2, 9:46 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Nov 2, 11:28 pm, le.dav...@tiscali.it wrote:
>
>
>
>> Hi folks,
>> I am trying to use "hist_norm.pro" in a code like that (my first
>> time):
>
>> pro istog, howmanyt
>
>>   t = fltarr(howmanyt)
>>   N = 20.
>>   for k=0, howmanyt-1, 1 do begin
>>       t[k] = total(randomu(seed, N))
>>   endfor
>
>>   a = intarr(howmanyt) + 1
>>   hist_norm, t, condition = a
>> end
>
>> I can't figure out why it does not work. Can you help me?
>> Thanks in advance.
>
> You need to say more. In what way does it not work? Where does
> hist_norm come from? (hist_norm is not in the IDL standard library)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to change dialog_message button names ?
Next Topic: Overplot behalfs strange

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

Current Time: Wed Oct 08 19:35:18 PDT 2025

Total time taken to generate the page: 0.00445 seconds