Make Histo from a txt file

Hi ROOTers,

I need some help about Histograms. I would like to import data from a txt file and make a 2-D Histogram. For example in the txt file I would like to have values for x and y axis. How should I write them in the txt file in order to recognize them ROOT and how could I import those data to make the Histogram?

Thanx in advance,

Hi Loukas,
see $ROOTSYS/tutorials/basic.C


Thanx Jan,

I’ll take a look at this!