Otto Schaile wrote:
>
> apropos Nicks last request for fitboxes (which I find useful):
> it should be easy to let the user choose a font, e.g. an equal spaced
> fontallows aligning the "=" signs by adding spaces to variables names.
>
Otto,
You can already specify these parameters to the stats box:
Assume a pad containing an histogram with the stats box:
TPaveText *stats = (TPaveText*)gPad->GetPrimitive("stats");
stats->SetTextFont(82);
stats->SetTextSize(0.03);
stats->SetFillColor(42);
I agree that the "=" characters could be aligned. The only way to do it
correctly is to:
-draw the =
-draw the par name right adjusted to the =
-draw the value left adjusted to the =
Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET