19 for (
Int_t i = 0; i<nlines; i++) {
20 ls->AddLine(
r.Uniform(-s,s),
r.Uniform(-s,s),
r.Uniform(-s,s),
21 r.Uniform(-s,s),
r.Uniform(-s,s),
r.Uniform(-s,s));
24 for (
Int_t m = 0;
m < nm;
m++) ls->AddMarker(i,
r.Rndm());
27 ls->SetMarkerSize(1.5);
28 ls->SetMarkerStyle(4);
45 for (
Int_t i = 0; i<nlines; i++) {
46 ls->AddLine(
r.Uniform(-s,s),
r.Uniform(-s,s), 0,
47 r.Uniform(-s,s),
r.Uniform(-s,s), 0);
50 for (
Int_t m = 0;
m < nm;
m++) ls->AddMarker(i,
r.Rndm());
53 ls->SetMarkerSize(1.5);
54 ls->SetMarkerStyle(4);
R__EXTERN TEveManager * gEve
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
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Set of straight lines with optional markers along the lines.
This is the base class for the ROOT Random number generators.