12 #include "ROOT/TColor.hxx" 13 #include "ROOT/TText.hxx" 14 #include "ROOT/TLine.hxx" 24 for (
int i=10; i>0; i--){
28 auto optts = canvas->Draw(Experimental::TText(
pt,
Form(
"%d", i)));
29 optts->SetTextSize(13);
30 optts->SetTextAlign(32);
31 optts->SetTextFont(52);
35 auto optls = canvas->Draw(Experimental::TLine(pl1, pl2));
36 optls->SetLineStyle(i);
A normalized coordinate: 0 in the left, bottom corner, 1 in the top, right corner of the TPad...
Namespace for new ROOT classes and functions.
A position (horizontal and vertical) in a TPad.
char * Form(const char *fmt,...)
static std::shared_ptr< TCanvas > Create(const std::string &title)