2D histogram with same file

I have a same .txt file with data and UNIX time. Is there a way so that I can produce a 2D-histogram with the same txt file?

Thank You so much.

The same way you would produce a 1D histo from a file, just with the 2 variables and with the corresponding Fill (ROOT: TH1 Class Reference).

Thank You for such a quick response,

I have a data set and corresponding unix time of the data. I wanted to produce Unix time on X-axis and corresponding data on Y-axis. I am not sure how I can do that.

Try searching the forum.