I am trying to add another axis in multigraph on top of x-axis. But, my new axis is overlapping with the old one and also I am not able to fix the tick same as bottom on top. I am pasting my part of code below. Please let me know how I can fix it.
Thanks in advance.
TMultiGraph *mg = new TMultiGraph("mg",";Current Supplied to HV Divider (#mu A);Efficiency");
TGaxis *axis_1 = new TGaxis(560,1.01,750,1.01, 0.560*4.7,0.750*4.7,510,"-");
It seems you asked for additional ticks on top of the plot. Don’t …
Yes, I am asking about the additional ticks.
Also, about synchronising the ticks on top and the bottom x-axis.
can you provide a complete example reproducing what you are doing ?
Please find the code here  and input data here .
 GE11sTimeResolution_vs_current_TestEx.C (5.3 KB)
 TimeResolution_etaphi52_ArCO2.txt (131 Bytes)
Thank you very much Coyote. It worked.
But, the bigger upper ticks are not in sync with the grid. Is there any standard way to sync it?
add option “N” in the TGaxis constructor. It will will “-N”
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.