I am a beginner, I am trying to make a macro that can read .root file and plot multiple histograms on one canvas. So far it only plots the first two histograms and crashes or goes blank when I add in another line of code to plot the third histogram.
Any help will be appreciated.
Check attachments for my macro.
firstHisto.C (587 Bytes)