#include "ROOT/RLine.hxx"
void pad()
{
auto canvas = RCanvas::Create("what to do with a pad!");
auto pads = canvas->Divide(3, 3);
for (int i = 0; i < 3; ++i)
for (int j = 0; j < 3; ++j) {
pads[i][j]->Draw(RLine({0.1_normal, 0.1_normal}, {0.9_normal, 0.9_normal}));
pads[i][j]->Draw(RLine({0.1_normal, 0.9_normal}, {0.9_normal, 0.1_normal}));
}
canvas->Show();
}
- Date
- 2015-03-22
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
- Author
- Axel Naumann axel@.nosp@m.cern.nosp@m..ch
Definition in file pad.cxx.