Programmatically creating histograms

Hello All,

I would like to create about 125 2D histograms. Is there a way to programmatically create them? The data I have is in [H,X,Y] format where H is the histogram number, and x and y are the column and row.

Also is there a way to display all the histograms on a same canvas? Many thanks.

Karthik.

see example in tutorials like $ROOTSYS/tutorials/io/dirs.C

Rene