55 using namespace ROOT::GLTutorials;
62 TCanvas *
c1 =
new TCanvas(
"parallel coors",
"parallel coords", 0, 0, 900, 1000);
64 if (!
c1->UseGL() && !
c1->IsWeb() && !
gVirtualX->InheritsFrom(
"TGCocoa"))
66 "To have real transparency in a canvas graphics, you need either OpenGL or Mac/Cocoa or Web rendering enabled");
70 for (
Int_t i = 0; i < 1500; ++i) {
101 nt->Draw(
"x:y:z:u:v:w:a:b:c",
"",
"para");
103 assert(
para1 !=
nullptr &&
"parallelcoordtrans, 'ParaCoord' is null");
105 para1->SetLineColor(25);
107 pcv->SetHistogramHeight(0.);
110 pcv->SetHistogramHeight(0.);
113 pcv->SetHistogramHeight(0.);
116 pcv->SetHistogramHeight(0.);
119 pcv->SetHistogramHeight(0.);
122 pcv->SetHistogramHeight(0.);
125 pcv->SetHistogramHeight(0.);
128 pcv->SetHistogramHeight(0.);
131 pcv->SetHistogramHeight(0.);
137 assert(
col26 !=
nullptr &&
"parallelcoordtrans, color with index 26 not found");
139 col26->SetAlpha(0.01);
142 nt->Draw(
"x:y:z:u:v:w:a:b:c",
"",
"para");
144 assert(
para2 !=
nullptr &&
"parallelcoordtrans, 'ParaCoord' is null");
146 para2->SetLineColor(26);
149 pcv->SetHistogramHeight(0.);
152 pcv->SetHistogramHeight(0.);
155 pcv->SetHistogramHeight(0.);
158 pcv->SetHistogramHeight(0.);
161 pcv->SetHistogramHeight(0.);
164 pcv->SetHistogramHeight(0.);
167 pcv->SetHistogramHeight(0.);
170 pcv->SetHistogramHeight(0.);
173 pcv->SetHistogramHeight(0.);
int Int_t
Signed integer 4 bytes (int)
double Double_t
Double 8 bytes.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
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
The color creation and management class.
A simple TTree restricted to a list of float variables only.
Parallel Coordinates class.
This is the base class for the ROOT Random number generators.
void SetCanvasPreferGL(Bool_t prefer=kTRUE)