Hello
Sorry for my basic question, but how to draw a histogram with a space in the name (such as this name : “my histogram”) ?
Cheers
Hello
Sorry for my basic question, but how to draw a histogram with a space in the name (such as this name : “my histogram”) ?
Cheers
Try:
TH1 *h = ((TH1 *)(gDirectory->FindObjectAny(“my histogram”)));
h->Draw();
In general you should avoid Histogram namedwith characters you cannot use in a programmatic way.
The Histogram Title is meant to be the long nice description.