30d9d78
diff -ur root-5.24.00b.orig/tree/treeviewer/src/TParallelCoord.cxx root-5.24.00b/tree/treeviewer/src/TParallelCoord.cxx
30d9d78
--- root-5.24.00b.orig/tree/treeviewer/src/TParallelCoord.cxx	2009-10-11 22:39:38.000000000 +0200
30d9d78
+++ root-5.24.00b/tree/treeviewer/src/TParallelCoord.cxx	2009-11-30 22:21:44.200770648 +0100
30d9d78
@@ -71,24 +71,6 @@
30d9d78
 <center>

Candle chart:

</center>
30d9d78
 

30d9d78
 TParallelCoord can also be used to display a candle chart. In that mode, every variable is drawn in the same scale. The candle chart can be combined with the parallel coordinates mode, drawing the candle sticks over the axes.
30d9d78
-End_Html
30d9d78
-Begin_Macro(source)
30d9d78
-{
30d9d78
-   TCanvas *c1 = new TCanvas("c1");
30d9d78
-   TFile *f = TFile::Open("$ROOTSYS/tutorials/tree/cernstaff.root");
30d9d78
-   TTree *T = (TTree*)f->Get("T");
30d9d78
-   T->Draw("Age:Grade:Step:Cost:Division:Nation","","para");
30d9d78
-   TParallelCoord* para = (TParallelCoord*)gPad->GetListOfPrimitives()->FindObject("ParaCoord");
30d9d78
-   TParallelCoordVar* grade = (TParallelCoordVar*)para->GetVarList()->FindObject("Grade");
30d9d78
-   grade->AddRange(new TParallelCoordRange(grade,11.5,14));
30d9d78
-   para->AddSelection("less30");
30d9d78
-   para->GetCurrentSelection()->SetLineColor(kViolet);
30d9d78
-   TParallelCoordVar* age = (TParallelCoordVar*)para->GetVarList()->FindObject("Age");
30d9d78
-   age->AddRange(new TParallelCoordRange(age,21,30));
30d9d78
-   return c1;
30d9d78
-}
30d9d78
-End_Macro
30d9d78
-Begin_Html
30d9d78
 

Some references:

30d9d78
 
    30d9d78
     
  • Alfred Inselberg's Homepage <http://www.math.tau.ac.il/~aiisreal>, with Visual Tutorial, History, Selected Publications and Applications.