RFH_NCURVE.idl generates a relative frequency histogram for a given discrete (or nearly continuous) and presumably random variable (perhaps such as surface temperature anomalies), and overlays a normal curve with the same standard deviation as the variable and same area as its histogram. The data of the input variable is transformed to have a mean of 0, and the x-axis is plotted in units of standard deviation (refer to plot above).