33 static constexpr int npoints = 10;
34 double x[npoints] = { 0., 1., 2., 3., 4., 5., 6., 7., 8., 9. };
35 double y[npoints] = { .1, .2, .3, .4, .3, .2, .1, .2, .3, .4 };
36 auto gr = std::make_shared<TGraph>(npoints,
x,
y);
37 auto canvas = RCanvas::Create(
"v7 RCanvas showing a v6 TGraph");
38 canvas->Draw(
gr,
"AL");
47 [](
bool res) { std::cout <<
"First Update done = " << (res ?
"true" :
"false") << std::endl; });
53 [](
bool res) { std::cout <<
"Second Update done = " << (res ?
"true" :
"false") << std::endl; });
#define R__LOAD_LIBRARY(LIBRARY)