I have a simple question. If I use text for the Xaxis bin labels, I get them not properly aligned, depending on which letters I use. You can see what I mean in the simple example below, where one can compare, for example, “pow” with “flower”
Well, they may accept one of these, though I personally find them rather boring …
TString channelLabel[nchannels] =
{
// Use "#color[0]" or "#color[19]" according to the value
// returned by gPad->GetFillColor() or gStyle->GetCanvasColor()
// so that the leading "|" character is NOT visible at all.
// You may also use "{#int}" instead of "{|}".
"#color[0]{|}pow",
"#color[0]{|}flower",
"#color[0]{|}pet",
"#color[0]{|}car",
"#color[0]{|}bottle"
};
TString channelLabel[nchannels] =
{
// Use "#color[0]" or "#color[19]" according to the value
// returned by gPad->GetFillColor() or gStyle->GetCanvasColor()
// so that the leading "#bar{|}" character is NOT visible at all.
// You may also use "{#int}" instead of "{|}".
"#color[0]{#bar{|}}pow",
"#color[0]{#bar{|}}flower",
"#color[0]{#bar{|}}pet",
"#color[0]{#bar{|}}car",
"#color[0]{#bar{|}}bottle"
};