29namespace CocoaTutorials {
65 TCanvas *
c1 =
new TCanvas(
"parallel coords",
"parallel coords", 0, 0, 900, 1000);
68 ::Error(
"generate_random",
"This macro works only on OS X with --enable-cocoa");
75 for (
Int_t i = 0; i < 1500; ++i) {
106 nt->Draw(
"x:y:z:u:v:w:a:b:c",
"",
"para");
108 assert(
para1 !=
nullptr &&
"parallelcoordtrans, 'ParaCoord' is null");
110 para1->SetLineColor(25);
112 pcv->SetHistogramHeight(0.);
115 pcv->SetHistogramHeight(0.);
118 pcv->SetHistogramHeight(0.);
121 pcv->SetHistogramHeight(0.);
124 pcv->SetHistogramHeight(0.);
127 pcv->SetHistogramHeight(0.);
130 pcv->SetHistogramHeight(0.);
133 pcv->SetHistogramHeight(0.);
136 pcv->SetHistogramHeight(0.);
142 assert(
col26 !=
nullptr &&
"parallelcoordtrans, color with index 26 not found");
144 col26->SetAlpha(0.01);
147 nt->Draw(
"x:y:z:u:v:w:a:b:c",
"",
"para");
149 assert(
para2 !=
nullptr &&
"parallelcoordtrans, 'ParaCoord' is null");
151 para2->SetLineColor(26);
154 pcv->SetHistogramHeight(0.);
157 pcv->SetHistogramHeight(0.);
160 pcv->SetHistogramHeight(0.);
163 pcv->SetHistogramHeight(0.);
166 pcv->SetHistogramHeight(0.);
169 pcv->SetHistogramHeight(0.);
172 pcv->SetHistogramHeight(0.);
175 pcv->SetHistogramHeight(0.);
178 pcv->SetHistogramHeight(0.);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
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
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.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...