Draw a scatter plot.
void scatter()
{
for (
int i=0;
i<
n;
i++) {
}
scatter->SetMarkerStyle(20);
scatter->SetTitle("Scatter plot;X;Y");
scatter->Draw("A");
}
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.
- Author
- Olivier Couet
Definition in file scatter.C.