X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Oct 2012 11:59 PM by  anon
Histogram funciton problem
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 Oct 2012 11:59 PM
    AOD_hist = AOD_hist+HISTOGRAM(AOD_screened, BINSIZE=0.01) when I use the histogram function, the first bin is wrong. It gives first bin value as 54 where as if I print, with the following commands I get 63.0 Why is the difference? IDL> a=TOTAL(AOD_screened LT 0.01 OR AOD_screened EQ 0.01) IDL> print, a 63.0000 IDL>

    Deleted User



    New Member


    Posts:
    New Member


    --
    11 Oct 2012 11:39 AM
    What is the data type of AOD_screened? It needs to be the same as 'binsize' which is float. Also what would happen if you took AOD_hist out of the equation?
    You are not authorized to post a reply.