24 for (
int i=0;
i<
n;
i++) {
25 x[
i] = 100*
r->Rndm(
i);
26 y[
i] = 200*
r->Rndm(
i);
27 c[
i] = 300*
r->Rndm(
i);
28 s[
i] = 400*
r->Rndm(
i);
32 scatter->SetMarkerStyle(20);
33 scatter->SetTitle(
"Scatter plot;X;Y");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
R__EXTERN TStyle * gStyle
This is the base class for the ROOT Random number generators.
A TScatter is able to draw four variables scatter plot on a single plot.