How to adjust space between plots as zero?

Hello dear rooters.

As I said in the title, I want to do that without loosing a little bit of numbers, like you can see in the plot I add


The part of the code used to do this is:

TCanvas *c=new TCanvas();

If I change the two last numbers, I have something like

, so I want to have the titles inside every plot not numbers out of x axis in the first plot, and complete nimbers in y axis, I add the image that actually is a capture of the plot on ps extension, I want to have a nice and clear plot, and don’t know how to do this.

Any suggestion will be appreciated, thanks in advance.

Set the labels’ size of the X axis to 0:

tophisto->GetXaxis()->SetLabelSize (0.);

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