[root] / trunk / tree / treeviewer / src / TParallelCoord.cxx Repository:
ViewVC logotype

Log of /trunk/tree/treeviewer/src/TParallelCoord.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 47982 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 11 23:09:22 2012 UTC (2 years, 1 month ago) by pcanal
File length: 41725 byte(s)
Diff to previous 44807
More FLT_MAX to DBL_MAX updates

Revision 44807 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 28 15:02:17 2012 UTC (2 years, 6 months ago) by couet
File length: 41725 byte(s)
Diff to previous 44507
In some case the dtor produced a crash trying to delete a non existing object.

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 41767 byte(s)
Diff to previous 44416
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 44416 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 31 15:06:54 2012 UTC (2 years, 7 months ago) by couet
File length: 41557 byte(s)
Diff to previous 43634
Fix coverity report $34056

Revision 43634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 4 08:06:49 2012 UTC (2 years, 9 months ago) by couet
File length: 41529 byte(s)
Diff to previous 41244
Fix coverity reports

Revision 41244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 19:42:35 2011 UTC (3 years, 3 months ago) by pcanal
File length: 41504 byte(s)
Diff to previous 35796
Fix Coverity issues:

TBranchSTL: cov 34339 Resource leak (false positive)
TTableDescriptor.cxx: cov 34219,34220 explicit null dereference
TSQLStructure.cxx: cov 34204,34205,34206 Explicit null dereferenced 
TTabCom.cxx: cov 34168 Explicit null dereferenced 
TClassRef.cxx: cove 34165 Explicit null dereferenced (false positive but still confusing coding).
TBufferXML.cxx: 34070 Explicit null dereferenced
TFriendProxyDescriptor.cxx: cov 34066 Uninitialized scalar field
TTreeCloner.cxx: cov 34034057 Dereference null return (stat) 63 Uninitialized scalar field 
TParallelCoordEditor.cxx: 34051,34059,34060,34061 Dereference null return value
TParallelCoord.cxx: 34050,34056, 34057 Dereference null return (stat) 
TBranchProxy.h: 34048 Dereference null return value 
TBranchProxy.cxx: 34043,34044,34045 Dereference null return value
TTree.cxx: 34039 Dereference null return value
TTreePlayer.cxx: 34037 Dereference null return value 
TLeafC.cxx: 34036 Dereference null return value

Revision 35796 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 27 13:40:30 2010 UTC (4 years, 3 months ago) by couet
File length: 41431 byte(s)
Diff to previous 35663
- Fix a FORWARD_NULL (coverity 21754)

Revision 35663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 14:12:14 2010 UTC (4 years, 4 months ago) by couet
File length: 41414 byte(s)
Diff to previous 35602
- Fix a REVERSE_INULL (coverity)

Revision 35602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 15:02:59 2010 UTC (4 years, 4 months ago) by couet
File length: 41399 byte(s)
Diff to previous 28522
- Re-code SetCurrentSelection to avoid dead code (coverity)

Revision 28522 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 11 14:25:01 2009 UTC (5 years, 8 months ago) by couet
File length: 41412 byte(s)
Diff to previous 25381
- The TParallelCoord destructor was not called.

Revision 25381 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 10 11:22:40 2008 UTC (6 years, 4 months ago) by couet
File length: 41433 byte(s)
Diff to previous 23496
- Protection added in:
  TParallelCoord::TParallelCoord(TTree* tree, Long64_t nentries)
  in case nentries > tree->GetEstimate()
  in such case a warning is printed and fNentries is set to tree->GetEstimate()
  instead of nentries.

Revision 23496 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 24 08:22:28 2008 UTC (6 years, 9 months ago) by couet
File length: 41308 byte(s)
Diff to previous 22902
- Fix shadowed variables.

Revision 22902 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 31 09:48:42 2008 UTC (6 years, 9 months ago) by rdm
File length: 41308 byte(s)
Diff to previous 22546
move tree, treeplayer and treeviewer under tree meta directory.

Revision 22546 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 8 19:21:05 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 41308 byte(s)
Diff to previous 20882
other bunch of gcc 4.3 warnings removed:
-  warning: suggest a space before ; or explicit braces around empty body
   in for statement

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 41389 byte(s)
Diff to previous 20089
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20089 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 25 09:14:25 2007 UTC (7 years, 4 months ago) by couet
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 41389 byte(s)
Diff to previous 19826
- Fix the problem mentionned here:
  http://root.cern.ch/phpBB2/viewtopic.php?t=5448
  Axis deletion from the editor did not work.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 41363 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 41419 byte(s)
Diff to previous 19804
remove :$ from tag line

Revision 19804 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 17 10:11:03 2007 UTC (7 years, 4 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 41429 byte(s)
Diff to previous 19674
From Axel:
Fix a problem with a blind casting of gPad to a TCanvas.

Revision 19674 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 23 15:16:32 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 41326 byte(s)
Diff to previous 19634
Fix a problem with the documentation.

Revision 19634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 17 08:23:03 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 41275 byte(s)
Diff to previous 19628
Fix typo

Revision 19628 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 16 15:54:28 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 41274 byte(s)
Diff to previous 19626
From Bastien:
Fixed: TSpider.cxx: Some parameters for the TSpider constructor are now default.
Fixed: TSpider.h, TSpider.cxx: Made the Get functions const when required.
Added: TSpider.cxx: Added a example macro.
Added: TParallelCoord.cxx: Added some references.

Revision 19626 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 16 12:12:24 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 40752 byte(s)
Diff to previous 19615
From Bastien:
Fixed: TParallelCoord.cxx: Added protection against missing tree file.
Fixed: TParallelCoord.cxx: Added TParallelCoord::SaveTree() called when
       calling SavePrimitive without the tree being saved in a root file.
Fixed: TParallelCoord.cxx: missing comments.
Added: All: Some FIXME indications.
Added: All: Html documentation and a macro example for TParallelCoord.
Fixed: TParallelCoordVar.cxx: Fixed missing TParallelCoordRange when rebuilding
       the pad from a macro coming from SavePrimitive().

Revision 19615 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 13 15:22:59 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 40602 byte(s)
Diff to previous 19604
From Bastien:
Added TParallelCoord::SavePrimitive to generate macro reproducing the TParallelCoord.

Revision 19604 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 13 10:50:12 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 35175 byte(s)
Diff to previous 19589
From Bastien:
Fixed: TParallelCoord.cxx: Fixed a bug when redimensionning the frame. Redimensionning a TParallelCoord is now frozen.
Fixed: TParallelCoordVar.cxx: Fixed testing if there is a current selection before adding a range (was causing seg fault).
Added: TParallelCoordVar.cxx, TParallelCoord.cxx: Added I/O.
Modified: TParallelCoordVar.h: The title of a TParallelCoordVar is now constant (the corresponding expression given to TTree::Draw). The user can change the variable label using TNamed::SetName but TNamed::SetTitle has been hidden.
Fixed: TParallelCoordEditor.cxx : Added protection when trying to select a non existing selection.

Revision 19589 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 10 10:09:52 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 32896 byte(s)
Diff to previous 19580
From Bastien:
Fixed: TParallelCoordVar.cxx: The extreme bins of the axes histograms are now properly diplayed.
Fixed: TParallelCoordVar.cxx, TParallelCoordVar.h: The histograms, minimums, maximums, averages and quantiles are now updated when changing the entries to display.
Fixed: TParallelCoord.cxx, TParallelCoordVar.cxx, TParallelCoordRange.cxx, TParallelCoordEditor.cxx: Several not portable C++ expressions has been changed.
Added: TParallelCoordEditor.cxx, TParallelCoordEditor.h: Better interface to display or not bar histograms.
Added: TTreePlayer.cxx: Added documentation to TTreePlayer::DrawSelect.
Added: TTree.cxx: Added documentation to TTree::Draw.
Added: TSelectorDraw.cxx: Protection in TSelectorDraw::Begin if there is more than 4 dimensions and neither the option "para", "candle" or "goff" are activated.
Added: TParallelCoord.cxx: The "Apply to tree" button now also update the selected entries drawn on the TParallelCoord.
Added: TParallelCoord.cxx, TParallelCoord.h: An initial entry list is defined. Calling TParallelCoord::ResetTree will produce the same output as when first initialized.
Fixed: TParallelCoordEditor.cxx, TParallelCoordEditor.h: Fixed seg faults from bad management of the TGComboBox.
Fixed: TParallelCoordVar.cxx: Fixed seg fault when computing the quantiles.

Revision 19580 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 9 09:10:38 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 30423 byte(s)
Diff to previous 19568
From Bastien:
 -add several protections
 -Move class descriptions from headers to implementation files
 -Simplify the user interface for TParallelCoord::BuildParallelCoord

Revision 19568 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Aug 8 12:57:38 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/treeviewer/src/TParallelCoord.cxx
File length: 24990 byte(s)
From Bastien DallaPiazza:

Add new classes to implement Parallel Coordinates graphs and Candle stick charts.
Classes:

- TParallelCoord

The multidimensional system of Parallel coordinates is a common way of studying
high-dimensional geometry and visualizing multivariate problems.
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.

Reduce cluttering:

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:
 - Draw doted lines instead of plain lines with an adjustable dots spacing.
   A slider to adjust the dots spacing is available in the editor.
 - Sort the entries to display with  a "weight cut". On each axis is drawn a
   histogram describing the distribution of the data on the corresponding
   variable. The "weight" of an entry is the sum of the bin content of each
   bin the entry is going through. An entry going through the histograms peaks
   will have a big weight wether an entry going randomly through the histograms
   will have a rather small weight. Setting a cut on this weight allows to draw
   only the most representative entries. A slider set the cut is also available
   in the gui.

Candle chart:

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.

- TParallelCoordVar:

Class containing a variable for the TParallelCoord. Appears as an axis on the
pad.

Options can be defined each axis separatly using the right mouse click.
These options can be applied to every axes using the editor.
   - Axis width: If set to 0, the axis is simply a line. If higher, a color
     histogram is drawn on the axis.
   - Axis histogram height: If not 0, a usual bar histogram is drawn on the plot.
     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.

- TParallelCoordRange:

A TParallelCoordRange is a range used for parallel coordinates plots. It defines
a range owned by a selection on an axis.

- TParallelCoorSelect:

A TParallelCoordSelect is a specialised TList to hold TParallelCoordRanges used
by TParallelCoord.

Selections of specific entries can be defined over the data set 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).

- TParallelCoordEditor:

This is the TParallelCoord editor. It brings tools to explore datas using
parallel coordinates. The main tools are:
   - Dots spacing : Set the dots spacing with whichone the lines must be drawn.
     This tool is useful to reduce the image cluttering.
   - The Selections section : Set the current edited selection and allows to
     apply it to the tree through a generated entry list.
   - The Entries section : Set how many events must be drawn. A weight cut can
     be defined here (see TParallelCoord for a a description of the weight cut).

   - The Variables tab : To define the global settings to display the axes.
     It is also possible to add a variable from its expression or delete a
     selected one (also possible using right click on the pad.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9