15   canvas->SetRightMargin(0.14);
 
   26   for (
int i=0; i<
n; i++) {
 
   27      x[i] = 100*
r->Rndm(i);
 
   28      y[i] = 200*
r->Rndm(i);
 
   29      c[i] = 300*
r->Rndm(i);
 
   30      s[i] = 400*
r->Rndm(i);
 
   35   scatter->SetTitle(
"Scatter plot title;X title;Y title;Z title");
 
   36   scatter->GetXaxis()->SetRangeUser(20.,90.);
 
   37   scatter->GetYaxis()->SetRangeUser(55.,90.);
 
   38   scatter->GetZaxis()->SetRangeUser(10.,200.);
 
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.
 
void SetPalette(Int_t ncolors=kBird, Int_t *colors=nullptr, Float_t alpha=1.)
See TColor::SetPalette.