hay
I have two histograms, which I obtain by reading data from the file output_file1.txt which is attached. Then I would like to plot both histograms in one canvas (but with different color). Unfortunately the histograms have a different scale. This can be seen if you read all the data points in one histogram (then you will see that the disks are in the middle of the halos). So one of the histograms does not follow the scale on the axis. Where is my mistake?
I run the program with
.x pos_plot.C
A second point which occurs in some of my root files is, that I can execute the program only once. If I try it again I get a segmentation fault. I have to leave root and start it again. Probably I wrote bad code and forgot anything, but what?
thanks for any help
best regards
florian
output_file1.txt (1.8 MB)
pos_plot.C (947 Bytes)