I am using ROOT to present my data in graphs.
My idea is based on the tree1.C in tutorial files.
First, I will record everything in my file to a TTree.
After that, I will plot data in pads of canvas.
But when I tried to plot 20 pads in canvas, font size is really small. How can I change it?
One more thing, how can I change my y axis range? I always have to do it manually one by one. I prefer some command lines.
With x axis, I can do it very easily.
Here is a part of code. Say, “rx_time” and “rx_speed” is data on y axis and “i” is x-axis.
[code]void tree1r(Long64_t nentries, Long64_t start_entry, int option)
{
TFile *f = new TFile(“tree1.root”); //I stored data in tree1.root; I open it to plot graphs & histograms
TTree t1 = (TTree)f->Get(“t1”);