TAxis::SetLabelSize documentation

I refer to the documentation of TAxis::SetLabelSize

Playing with:

int widthorheight()
{
  TCanvas * c1 = new TCanvas;
  const double xlow1(0.0), ylow1(0.0), xup1(1.0), yup1(0.5);
  TPad * pad1 = new TPad("pad1", "pad1", xlow1, ylow1, xup1, yup1);
  pad1 -> Draw();
  pad1 -> cd();
  TH1F * h1 = new TH1F("h1", "h1", 10, -1.0, 1.0);
  h1 -> Draw();
  return 0;
}

suggests that label size is defined as a percentage of the pad area as opposed to the pad width. Isn’t that true?

Also the description is lacking a full stop.


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Yes it would be better to say “pad size” instead of “pad width”. I will change that.

what do you mean exactly ?

area=size?

Full stop is necessary after

Set size of axis labels

Changes in the doc done.

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