On Tue, 24 May 2005, Sara Rauscher wrote:
> Hi,
>
> I have a few histogram questions.
>
> Is there any way to show more than two histograms side by side, instead of
> the transparent technique shown in
> http://www.ncl.ucar.edu/Applications/Scripts/histo_10.ncl?
Hi Sara,
The histogram utility is just meant to be a tool for simple histograms,
and doesn't have the capability to do more than two comparisons of
histograms. You can look at example 6 for another way of comparing
two histograms, however.
> Is there any way to output the frequencies that are created by gsn_histogram
> (other than the histogram graphic itself)?
If you print the return variable from the gsn_histogram function call,
you will see a number of attributes attached to the variable:
NumInBins - an array of the number of items in each bin.
NumMissing - the number of missing values (if any)
Percentages - an array of percentages indicating the distribution of
the bin values (missing values are counted in total)
PercentagesNoMissing - an array of percentages indicating the
distribution of the bin values (missing
values are not counted in total)
I believe "NumInBins" should give you what you want.
--Mary
> thanks!
> sara
>
> --
> Dr. Sara A. Rauscher, Staff Associate
> International Research Institute for Climate Prediction
> Lamont Doherty Earth Observatory of Columbia University
> 101 Monell Building
> PO Box 1000
> Palisades NY 10964-8000
> Phone: 845-680-4515
> Fax: 845-680-4864
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Wed May 25 2005 - 10:03:12 MDT