Divide a canvas with MultiGraph

I’m using this code to draw 3 different graphs of a tree that I created before.
In the file “file_names.txt” I have a list of three files and the code, at the moment, plots all the graphs in the same canvas.
I would like that it plots each MultiGraph of each file in the list in a different pad of the same canvas.
How can I do?
Thank you in advance,
Ibeam_chain_peak_filelist_graph.cpp (4.4 KB)

Before drawing the Multigraph do: c1->cd(i) where i is the pad number (1 to 3 in your case)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.