ROOT
6.07/01
Reference Guide
|
Parallel Coordinates class.
The multidimensional system of Parallel coordinates is a common way of studying high-dimensional geometry and visualizing multivariate problems. It has first been proposed by A. Inselberg in 1981.
To show a set of points in an n-dimensional space, a backdrop is drawn consisting of n parallel lines. A point in n-dimensional space is represented as a polyline with vertices on the parallel axes; the position of the vertex on the i-th axis corresponds to the i-th coordinate of the point.
This tool comes with a rather large gui in the editor. It is necessary to use this editor in order to explore a data set, as explained below.
The main issue for parallel coordinates is the very high cluttering of the output when dealing with large data set. Two techniques have been implemented to bypass that so far:
Selections of specific entries can be defined over the data se using parallel coordinates. With that representation, a selection is an ensemble of ranges defined on the axes. Ranges defined on the same axis are conjugated with OR (an entry must be in one or the other ranges to be selected). Ranges on different axes are are conjugated with AND (an entry must be in all the ranges to be selected). Several selections can be defined with different colors. It is possible to generate an entry list from a given selection and apply it to the tree using the editor ("Apply to tree" button).
Options can be defined each axis separately using the right mouse click. These options can be applied to every axes using the editor.
The order in which the variables are drawn is essential to see the clusters. The axes can be dragged to change their position. A zoom is also available. The logarithm scale is also available by right clicking on the axis.
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.
Some references:
Definition at line 32 of file TParallelCoord.h.
Public Types | |
enum | { kVertDisplay =BIT(14), kCurveDisplay =BIT(15), kPaintEntries =BIT(16), kLiveUpdate =BIT(17), kGlobalScale =BIT(19), kCandleChart =BIT(20), kGlobalLogScale =BIT(21) } |
Public Types inherited from TObject | |
enum | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
Public Member Functions | |
TParallelCoord () | |
TParallelCoord (Long64_t nentries) | |
Constructor without a reference to a tree, the datas must be added afterwards with TParallelCoord::AddVariable(Double_t*,const char*). More... | |
TParallelCoord (TTree *tree, Long64_t nentries) | |
Normal constructor, the datas must be added afterwards with TParallelCoord::AddVariable(Double_t*,const char*). More... | |
~TParallelCoord () | |
Destructor. More... | |
void | AddVariable (Double_t *val, const char *title="") |
Add a variable. More... | |
void | AddVariable (const char *varexp) |
Add a variable from an expression. More... | |
void | AddSelection (const char *title) |
Add a selection. More... | |
void | ApplySelectionToTree () |
Apply the current selection to the tree. More... | |
void | CleanUpSelections (TParallelCoordRange *range) |
Clean up the selections from the ranges which could have been deleted when a variable has been deleted. More... | |
void | RemoveVariable (TParallelCoordVar *var) |
Delete a variable from the graph. More... | |
TParallelCoordVar * | RemoveVariable (const char *var) |
Delete the variable "vartitle" from the graph. More... | |
void | DeleteSelection (TParallelCoordSelect *sel) |
Delete a selection. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Compute the distance from the TParallelCoord. More... | |
virtual void | Draw (Option_t *options="") |
Draw the parallel coordinates graph. More... | |
virtual void | ExecuteEvent (Int_t entry, Int_t px, Int_t py) |
Execute the corresponding entry. More... | |
Bool_t | GetCandleChart () |
Long64_t | GetCurrentFirst () |
Long64_t | GetCurrentN () |
TParallelCoordSelect * | GetCurrentSelection () |
Return the selection currently being edited. More... | |
Bool_t | GetCurveDisplay () const |
Int_t | GetDotsSpacing () const |
TEntryList * | GetEntryList (Bool_t sel=kTRUE) |
Get the whole entry list or one for a selection. More... | |
Double_t | GetGlobalMin () |
return the global minimum. More... | |
Double_t | GetGlobalMax () |
return the global maximum. More... | |
Bool_t | GetGlobalScale () |
Bool_t | GetGlobalLogScale () |
Color_t | GetLineColor () |
Width_t | GetLineWidth () |
Int_t | GetNbins () |
get the binning of the histograms. More... | |
UInt_t | GetNvar () |
Long64_t | GetNentries () |
TList * | GetSelectList () |
TParallelCoordSelect * | GetSelection (const char *title) |
Get a selection from its title. More... | |
TTree * | GetTree () |
return the tree if fTree is defined. More... | |
Double_t * | GetVariable (const char *var) |
Get the variables values from its title. More... | |
Double_t * | GetVariable (Int_t i) |
Get the variables values from its index. More... | |
TList * | GetVarList () |
Bool_t | GetVertDisplay () const |
Int_t | GetWeightCut () const |
virtual void | Paint (Option_t *options="") |
Paint the parallel coordinates graph. More... | |
void | ResetTree () |
Reset the tree entry list to the initial one.. More... | |
void | SaveEntryLists (const char *filename="", Bool_t overwrite=kFALSE) |
Save the entry lists in a root file "filename.root". More... | |
void | SavePrimitive (std::ostream &out, Option_t *options) |
Save the TParallelCoord in a macro. More... | |
void | SaveTree (const char *filename="", Bool_t overwrite=kFALSE) |
Save the tree in a file if fTreeFileName == "". More... | |
void | SetAxisHistogramBinning (Int_t n=100) |
Set the same histogram axis binning for all axis. More... | |
void | SetAxisHistogramHeight (Double_t h=0.5) |
Set the same histogram axis height for all axis. More... | |
void | SetAxisHistogramLineWidth (Int_t lw=2) |
Set the same histogram axis line width for all axis. More... | |
void | SetCandleChart (Bool_t can) |
Set a candle chart display. More... | |
virtual void | SetCurveDisplay (Bool_t curve=1) |
void | SetCurrentEntries (TEntryList *entries) |
void | SetCurrentFirst (Long64_t) |
Set the first entry to be displayed. More... | |
void | SetCurrentN (Long64_t) |
Set the number of entry to be displayed. More... | |
TParallelCoordSelect * | SetCurrentSelection (const char *title) |
Set the selection being edited. More... | |
void | SetCurrentSelection (TParallelCoordSelect *sel) |
Set the selection being edited. More... | |
void | SetDotsSpacing (Int_t s=0) |
Set dots spacing. More... | |
void | SetGlobalScale (Bool_t gl) |
Constraint all axes to the same scale. More... | |
void | SetGlobalLogScale (Bool_t) |
All axes in log scale. More... | |
void | SetGlobalMin (Double_t min) |
Force all variables to adopt the same min. More... | |
void | SetGlobalMax (Double_t max) |
Force all variables to adopt the same max. More... | |
void | SetInitEntries (TEntryList *entries) |
void | SetLineColor (Color_t col) |
void | SetLineWidth (Width_t wid) |
void | SetLiveRangesUpdate (Bool_t) |
If true, the pad is updated while the motion of a dragged range. More... | |
void | SetNentries (Long64_t n) |
void | SetTree (TTree *tree) |
void | SetVertDisplay (Bool_t vert=kTRUE) |
Set the vertical or horizontal display. More... | |
void | SetWeightCut (Int_t w=0) |
void | UnzoomAll () |
Unzoom all variables. More... | |
ClassDef (TParallelCoord, 1) | |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TString &name, const TString &title) | |
TNamed (const TNamed &named) | |
TNamed & | operator= (const TNamed &rhs) |
TNamed assignment operator. More... | |
virtual | ~TNamed () |
virtual void | Clear (Option_t *option="") |
Set name and title to empty strings (""). More... | |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare two TNamed objects. More... | |
virtual void | Copy (TObject &named) const |
Copy this to obj. More... | |
virtual void | FillBuffer (char *&buffer) |
Encode TNamed into output buffer. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual Bool_t | IsSortable () const |
virtual void | SetName (const char *name) |
Change (i.e. More... | |
virtual void | SetNameTitle (const char *name, const char *title) |
Change (i.e. set) all the TNamed parameters (name and title). More... | |
virtual void | SetTitle (const char *title="") |
Change (i.e. set) the title of the TNamed. More... | |
virtual void | ls (Option_t *option="") const |
List TNamed name and title. More... | |
virtual void | Print (Option_t *option="") const |
Print TNamed name and title. More... | |
virtual Int_t | Sizeof () const |
Return size of the TNamed part of the TObject. More... | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
Static Public Member Functions | |
static void | BuildParallelCoord (TSelectorDraw *selector, Bool_t candle) |
Call constructor and add the variables. More... | |
static void | SetEntryList (TParallelCoord *para, TEntryList *enlist) |
Set the entry lists of "para". More... | |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Private Member Functions | |
void | Init () |
An axis used when displaying a candle chart. More... | |
void | PaintEntries (TParallelCoordSelect *sel=NULL) |
Loop over the entries and paint them. More... | |
void | SetAxesPosition () |
Update the position of the axes. More... | |
Private Attributes | |
UInt_t | fNvar |
Long64_t | fCurrentFirst |
Long64_t | fCurrentN |
Long64_t | fNentries |
Int_t | fDotsSpacing |
Color_t | fLineColor |
Width_t | fLineWidth |
Int_t | fWeightCut |
TEntryList * | fCurrentEntries |
TEntryList * | fInitEntries |
TTree * | fTree |
TString | fTreeName |
Pointer to the TTree. More... | |
TString | fTreeFileName |
TList * | fVarList |
TList * | fSelectList |
TParallelCoordSelect * | fCurrentSelection |
TGaxis * | fCandleAxis |
Current Selection being edited. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
#include <TParallelCoord.h>
anonymous enum |
Enumerator | |
---|---|
kVertDisplay | |
kCurveDisplay | |
kPaintEntries | |
kLiveUpdate | |
kGlobalScale | |
kCandleChart | |
kGlobalLogScale |
Definition at line 34 of file TParallelCoord.h.
TParallelCoord::TParallelCoord | ( | ) |
Referenced by BuildParallelCoord().
TParallelCoord::TParallelCoord | ( | Long64_t | nentries | ) |
Constructor without a reference to a tree, the datas must be added afterwards with TParallelCoord::AddVariable(Double_t*,const char*).
Definition at line 146 of file TParallelCoord.cxx.
Normal constructor, the datas must be added afterwards with TParallelCoord::AddVariable(Double_t*,const char*).
Definition at line 161 of file TParallelCoord.cxx.
TParallelCoord::~TParallelCoord | ( | ) |
Destructor.
Definition at line 186 of file TParallelCoord.cxx.
void TParallelCoord::AddSelection | ( | const char * | title | ) |
Add a selection.
Definition at line 249 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoAddSelection(), TMVA::paracoor(), and parallelcoord().
Add a variable.
Definition at line 204 of file TParallelCoord.cxx.
Referenced by AddVariable(), BuildParallelCoord(), and TParallelCoordEditor::DoAddVariable().
void TParallelCoord::AddVariable | ( | const char * | varexp | ) |
Add a variable from an expression.
Definition at line 214 of file TParallelCoord.cxx.
void TParallelCoord::ApplySelectionToTree | ( | ) |
Apply the current selection to the tree.
Definition at line 259 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoApplySelect().
|
static |
Call constructor and add the variables.
Definition at line 295 of file TParallelCoord.cxx.
TParallelCoord::ClassDef | ( | TParallelCoord | , |
1 | |||
) |
void TParallelCoord::CleanUpSelections | ( | TParallelCoordRange * | range | ) |
Clean up the selections from the ranges which could have been deleted when a variable has been deleted.
Definition at line 320 of file TParallelCoord.cxx.
Referenced by TParallelCoordRange::Delete(), and TParallelCoordVar::~TParallelCoordVar().
void TParallelCoord::DeleteSelection | ( | TParallelCoordSelect * | sel | ) |
Delete a selection.
Definition at line 332 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoDeleteSelection().
Compute the distance from the TParallelCoord.
Reimplemented from TObject.
Definition at line 343 of file TParallelCoord.cxx.
Draw the parallel coordinates graph.
Reimplemented from TObject.
Definition at line 366 of file TParallelCoord.cxx.
Referenced by BuildParallelCoord().
Execute the corresponding entry.
Reimplemented from TObject.
Definition at line 437 of file TParallelCoord.cxx.
|
inline |
Definition at line 85 of file TParallelCoord.h.
|
inline |
Definition at line 86 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::DoNentries(), TParallelCoordVar::GetHistogram(), TParallelCoordVar::GetMinMaxMean(), TParallelCoordVar::GetQuantiles(), and TParallelCoordEditor::SetModel().
|
inline |
Definition at line 87 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::DoFirstEntry(), TParallelCoordEditor::DoNentries(), TParallelCoordVar::GetHistogram(), TParallelCoordVar::GetMinMaxMean(), TParallelCoordVar::GetQuantiles(), and TParallelCoordEditor::SetModel().
TParallelCoordSelect * TParallelCoord::GetCurrentSelection | ( | ) |
Return the selection currently being edited.
Definition at line 446 of file TParallelCoord.cxx.
Referenced by TParallelCoordVar::AddRange(), TParallelCoordEditor::CleanUpSelections(), TParallelCoordEditor::DoActivateSelection(), TParallelCoordEditor::DoDeleteSelection(), TParallelCoordEditor::DoSelectionSelect(), TParallelCoordEditor::DoSelectLineColor(), TParallelCoordEditor::DoSelectLineWidth(), TParallelCoordEditor::DoShowRanges(), parallelcoord(), and TParallelCoordRange::TParallelCoordRange().
|
inline |
Definition at line 89 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::SetModel().
|
inline |
Definition at line 90 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::SetModel().
TEntryList * TParallelCoord::GetEntryList | ( | Bool_t | sel = kTRUE | ) |
Get the whole entry list or one for a selection.
Definition at line 458 of file TParallelCoord.cxx.
Referenced by AddVariable(), and ApplySelectionToTree().
|
inline |
Definition at line 95 of file TParallelCoord.h.
Double_t TParallelCoord::GetGlobalMax | ( | ) |
return the global maximum.
Definition at line 482 of file TParallelCoord.cxx.
Referenced by Draw(), SetCandleChart(), SetGlobalScale(), SetVertDisplay(), TParallelCoordVar::SetX(), and TParallelCoordVar::SetY().
Double_t TParallelCoord::GetGlobalMin | ( | ) |
return the global minimum.
Definition at line 496 of file TParallelCoord.cxx.
Referenced by Draw(), SetCandleChart(), SetGlobalScale(), SetVertDisplay(), TParallelCoordVar::SetX(), and TParallelCoordVar::SetY().
|
inline |
Definition at line 94 of file TParallelCoord.h.
|
inline |
Definition at line 96 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::DoAlpha(), TParallelCoordEditor::DoAlphaField(), TParallelCoordEditor::DoGlobalLineColor(), TParallelCoordEditor::DoLiveAlpha(), PaintEntries(), SavePrimitive(), and TParallelCoordEditor::SetModel().
|
inline |
Definition at line 97 of file TParallelCoord.h.
Referenced by PaintEntries(), SavePrimitive(), and TParallelCoordEditor::SetModel().
Int_t TParallelCoord::GetNbins | ( | ) |
get the binning of the histograms.
Definition at line 510 of file TParallelCoord.cxx.
|
inline |
Definition at line 100 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::SetModel(), and TParallelCoordVar::TParallelCoordVar().
|
inline |
Definition at line 99 of file TParallelCoord.h.
Referenced by TParallelCoordVar::ExecuteEvent(), TParallelCoordVar::PaintBoxPlot(), and TParallelCoordVar::PaintHistogram().
TParallelCoordSelect * TParallelCoord::GetSelection | ( | const char * | title | ) |
Get a selection from its title.
Definition at line 518 of file TParallelCoord.cxx.
|
inline |
Definition at line 101 of file TParallelCoord.h.
Referenced by TParallelCoordRange::BringOnTop(), TParallelCoordEditor::CleanUpSelections(), TParallelCoordEditor::DoHideAllRanges(), and TParallelCoordRange::SendToBack().
TTree * TParallelCoord::GetTree | ( | ) |
return the tree if fTree is defined.
If not, the method try to load the tree from fTreeFileName.
Definition at line 530 of file TParallelCoord.cxx.
Double_t * TParallelCoord::GetVariable | ( | const char * | var | ) |
Get the variables values from its title.
Definition at line 572 of file TParallelCoord.cxx.
Get the variables values from its index.
Definition at line 584 of file TParallelCoord.cxx.
|
inline |
Definition at line 106 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::CleanUpVariables(), TParallelCoordEditor::DoHistColorSelect(), TParallelCoordEditor::DoHistPatternSelect(), TParallelCoordEditor::DoHistShowBoxes(), TParallelCoordVar::ExecuteEvent(), TMVA::paracoor(), parallelcoord(), TParallelCoordVar::Print(), and TParallelCoordEditor::SetModel().
|
inline |
Definition at line 107 of file TParallelCoord.h.
|
inline |
Definition at line 108 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::SetModel().
An axis used when displaying a candle chart.
Initialise the data members of TParallelCoord.
Definition at line 593 of file TParallelCoord.cxx.
Referenced by TParallelCoord().
Paint the parallel coordinates graph.
Reimplemented from TObject.
Definition at line 624 of file TParallelCoord.cxx.
|
private |
Loop over the entries and paint them.
Definition at line 647 of file TParallelCoord.cxx.
Referenced by Paint().
void TParallelCoord::RemoveVariable | ( | TParallelCoordVar * | var | ) |
Delete a variable from the graph.
Definition at line 731 of file TParallelCoord.cxx.
Referenced by TParallelCoordVar::DeleteVariable(), and TParallelCoordEditor::DoDeleteVar().
TParallelCoordVar * TParallelCoord::RemoveVariable | ( | const char * | var | ) |
Delete the variable "vartitle" from the graph.
Definition at line 741 of file TParallelCoord.cxx.
void TParallelCoord::ResetTree | ( | ) |
Reset the tree entry list to the initial one..
Definition at line 759 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoUnApply().
Save the entry lists in a root file "filename.root".
Definition at line 791 of file TParallelCoord.cxx.
Referenced by SavePrimitive().
Save the TParallelCoord in a macro.
Reimplemented from TObject.
Definition at line 814 of file TParallelCoord.cxx.
Save the tree in a file if fTreeFileName == "".
Definition at line 883 of file TParallelCoord.cxx.
Referenced by SavePrimitive().
|
private |
Update the position of the axes.
Definition at line 907 of file TParallelCoord.cxx.
Referenced by AddVariable(), Draw(), Paint(), and RemoveVariable().
Set the same histogram axis binning for all axis.
Definition at line 951 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoHistBinning().
Set the same histogram axis height for all axis.
Definition at line 961 of file TParallelCoord.cxx.
Set the same histogram axis line width for all axis.
Definition at line 1017 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoHistWidth().
Set a candle chart display.
Definition at line 1027 of file TParallelCoord.cxx.
|
inline |
Definition at line 119 of file TParallelCoord.h.
Referenced by SetEntryList().
Set the first entry to be displayed.
Definition at line 1057 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoEntriesToDraw(), TParallelCoordEditor::DoFirstEntry(), and TParallelCoordEditor::DoLiveEntriesToDraw().
Set the number of entry to be displayed.
Definition at line 1074 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoEntriesToDraw(), TParallelCoordEditor::DoLiveEntriesToDraw(), and TParallelCoordEditor::DoNentries().
TParallelCoordSelect * TParallelCoord::SetCurrentSelection | ( | const char * | title | ) |
Set the selection being edited.
Definition at line 1091 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoSelectionSelect(), and TParallelCoordRange::ExecuteEvent().
void TParallelCoord::SetCurrentSelection | ( | TParallelCoordSelect * | sel | ) |
Set the selection being edited.
Definition at line 1104 of file TParallelCoord.cxx.
Definition at line 118 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::DoLineType().
Set dots spacing.
Modify the line style 11. If the canvas support transparency dot spacing is ignored.
Definition at line 1114 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoDotsSpacing(), TParallelCoordEditor::DoDotsSpacingField(), TParallelCoordEditor::DoLiveDotsSpacing(), parallelcoord(), and ~TParallelCoord().
|
static |
Set the entry lists of "para".
Definition at line 1125 of file TParallelCoord.cxx.
All axes in log scale.
Definition at line 971 of file TParallelCoord.cxx.
Force all variables to adopt the same max.
Definition at line 1134 of file TParallelCoord.cxx.
Referenced by TParallelCoordVar::ExecuteEvent(), TParallelCoordVar::SetCurrentLimits(), and SetGlobalScale().
Force all variables to adopt the same min.
Definition at line 1146 of file TParallelCoord.cxx.
Referenced by TParallelCoordVar::ExecuteEvent(), TParallelCoordVar::SetCurrentLimits(), and SetGlobalScale().
Constraint all axes to the same scale.
Definition at line 984 of file TParallelCoord.cxx.
Referenced by Draw(), SetCandleChart(), and SetGlobalLogScale().
|
inline |
Definition at line 130 of file TParallelCoord.h.
Referenced by SetEntryList().
Definition at line 131 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::DoGlobalLineColor().
Definition at line 132 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::DoGlobalLineWidth().
If true, the pad is updated while the motion of a dragged range.
Definition at line 1158 of file TParallelCoord.cxx.
Referenced by TParallelCoordEditor::DoDelayDrawing().
Definition at line 134 of file TParallelCoord.h.
Definition at line 135 of file TParallelCoord.h.
Set the vertical or horizontal display.
Definition at line 1169 of file TParallelCoord.cxx.
Definition at line 137 of file TParallelCoord.h.
Referenced by TParallelCoordEditor::DoLiveWeightCut(), and TParallelCoordEditor::DoWeightCut().
void TParallelCoord::UnzoomAll | ( | ) |
Unzoom all variables.
Definition at line 1199 of file TParallelCoord.cxx.
|
private |
Current Selection being edited.
Definition at line 61 of file TParallelCoord.h.
Referenced by Draw(), Init(), SetCandleChart(), SetGlobalScale(), SetVertDisplay(), and ~TParallelCoord().
|
private |
Definition at line 53 of file TParallelCoord.h.
Referenced by ApplySelectionToTree(), Draw(), GetEntryList(), GetTree(), Init(), ResetTree(), SaveEntryLists(), SetCurrentEntries(), and ~TParallelCoord().
|
private |
Definition at line 46 of file TParallelCoord.h.
Referenced by ApplySelectionToTree(), GetCurrentFirst(), Init(), PaintEntries(), ResetTree(), SavePrimitive(), SetCurrentFirst(), and SetCurrentN().
|
private |
Definition at line 47 of file TParallelCoord.h.
Referenced by ApplySelectionToTree(), GetCurrentN(), Init(), PaintEntries(), ResetTree(), SavePrimitive(), SetCurrentFirst(), SetCurrentN(), and TParallelCoord().
|
private |
Definition at line 60 of file TParallelCoord.h.
Referenced by AddSelection(), ApplySelectionToTree(), DeleteSelection(), GetCurrentSelection(), GetEntryList(), Init(), ResetTree(), SetCurrentSelection(), and TParallelCoord().
|
private |
Definition at line 49 of file TParallelCoord.h.
Referenced by GetDotsSpacing(), Init(), PaintEntries(), SavePrimitive(), and SetDotsSpacing().
|
private |
Definition at line 54 of file TParallelCoord.h.
Referenced by Draw(), GetEntryList(), Init(), ResetTree(), SaveEntryLists(), SetInitEntries(), and ~TParallelCoord().
|
private |
Definition at line 50 of file TParallelCoord.h.
Referenced by GetLineColor(), Init(), and SetLineColor().
|
private |
Definition at line 51 of file TParallelCoord.h.
Referenced by GetLineWidth(), Init(), and SetLineWidth().
|
private |
Definition at line 48 of file TParallelCoord.h.
Referenced by ApplySelectionToTree(), GetEntryList(), GetNentries(), GetTree(), Init(), ResetTree(), SavePrimitive(), SetCurrentFirst(), SetCurrentN(), SetNentries(), and TParallelCoord().
|
private |
Definition at line 45 of file TParallelCoord.h.
Referenced by AddVariable(), GetNvar(), GetVariable(), Init(), PaintEntries(), RemoveVariable(), SetAxesPosition(), and SetVertDisplay().
|
private |
Definition at line 59 of file TParallelCoord.h.
Referenced by AddSelection(), ApplySelectionToTree(), CleanUpSelections(), DeleteSelection(), GetCurrentSelection(), GetSelection(), GetSelectList(), Init(), Paint(), ResetTree(), SavePrimitive(), SetCurrentSelection(), TParallelCoord(), and ~TParallelCoord().
|
private |
Definition at line 55 of file TParallelCoord.h.
Referenced by AddVariable(), ApplySelectionToTree(), GetEntryList(), GetTree(), Init(), ResetTree(), SaveEntryLists(), SavePrimitive(), SaveTree(), SetTree(), and TParallelCoord().
|
private |
Definition at line 57 of file TParallelCoord.h.
Referenced by GetTree(), Init(), SavePrimitive(), SaveTree(), and TParallelCoord().
|
private |
Pointer to the TTree.
Definition at line 56 of file TParallelCoord.h.
Referenced by GetTree(), Init(), SavePrimitive(), SaveTree(), and TParallelCoord().
|
private |
Definition at line 58 of file TParallelCoord.h.
Referenced by AddVariable(), ApplySelectionToTree(), Draw(), GetEntryList(), GetGlobalMax(), GetGlobalMin(), GetNbins(), GetTree(), GetVariable(), GetVarList(), Init(), PaintEntries(), RemoveVariable(), ResetTree(), SavePrimitive(), SetAxesPosition(), SetAxisHistogramBinning(), SetAxisHistogramHeight(), SetAxisHistogramLineWidth(), SetCandleChart(), SetCurrentFirst(), SetCurrentN(), SetGlobalLogScale(), SetGlobalMax(), SetGlobalMin(), SetGlobalScale(), SetLiveRangesUpdate(), SetVertDisplay(), TParallelCoord(), UnzoomAll(), and ~TParallelCoord().
|
private |
Definition at line 52 of file TParallelCoord.h.
Referenced by GetWeightCut(), Init(), PaintEntries(), SavePrimitive(), and SetWeightCut().