[root] / trunk / graf / src / TMultiGraph.cxx Repository:
ViewVC logotype

Log of /trunk/graf/src/TMultiGraph.cxx

Parent Directory Parent Directory


Sticky Revision:
(Current path doesn't exist after revision 23139)

Revision 11226 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 4 09:06:37 2005 UTC (9 years, 10 months ago) by brun
File length: 36551 byte(s)
Diff to previous 10847
From Anna Kreshuk:
- TLinearFitter class: Linear fitter is used to fit a set of data points with a linear
  combination of specified functions (with or without weights). The "linear" in the name
  stands for "linear in parameters", not variables. The main advantages,
  compared to a general non-linear fitter, is that the linear fitter is considerably
  faster and doesn't require setting the initial values of parameters.
  The linear fitter can be used directly or through TH1::Fit and TGraph::Fit functions
  When it's used directly, functions of more than 3 dimensions can be fitted.

- TFormula: a new data member fLinearParts and methods to process it are added. Now
  one can create a function of the type that can be fit by the linear fitter.
  Example: TFormula f("f", "x++sin(x)") is equivalent to
  TFormula f("f","[0]*x + [1]*sin(x)"), but if a TH1::Fit or a TGraph::Fit is performed
  with the 1st formula, it goes through the linear fitter, if it's performed with the
  2nd formula, it goes through Minuit.

- TMultiGraph class: the Fit method is implemented, allowing to fit all the graphs
  of a multigraph simultaneously

- TGraph, TGraphErrors, TGraphAsymmErrors, TGraphBentErrors - functions GetEXhigh(),
  GetEXlow(), GetEYhigh(), GetEYlow() implemented to simplify the GraphFitChisquare()
  function of the TFitter class

- TH1, TGraph, TGraph2D, TMultiGraph - changes in the Fit functions, allowing to use
  the linear fitter. Fitting with "polN" functions redirected to use the linear fitter,
  in cases where no options, except "range", are specified.

Revision 10847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 27 15:42:36 2004 UTC (10 years ago) by brun
File length: 13005 byte(s)
Diff to previous 9245
From Allesandro Thea
Fix in TMultiGraph::SavePrimitive to correctly save the option
specified in TMultiGraph::Add

Revision 9245 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 18 10:46:58 2004 UTC (10 years, 7 months ago) by brun
File length: 12820 byte(s)
Diff to previous 9010
Optimize the computation of the range along Y in case of log scales

Revision 9010 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 26 06:26:34 2004 UTC (10 years, 8 months ago) by brun
File length: 12575 byte(s)
Diff to previous 6639
In TMultiGraph::Paint optimize the computation of the minimum and maximum along y.

Revision 6639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 16 13:12:07 2003 UTC (11 years, 8 months ago) by brun
File length: 12469 byte(s)
Diff to previous 5552
Add comments in TMultiGraph::Add to indicate that the TMultiGraph
is the owner of the graphs.

Revision 5552 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 6 21:16:43 2002 UTC (12 years, 2 months ago) by brun
File length: 12257 byte(s)
Diff to previous 4915
Implement function TMultiGraph::RecursiveRemove.
When a TGraph is deleted (eg via the context menu), its parent TMultigraph
is notified to remove the TGrapg from its list of graphs.
Destructor protected.

Revision 4915 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 15 15:03:38 2002 UTC (12 years, 6 months ago) by brun
File length: 11633 byte(s)
Diff to previous 4083
Changes in the functions DistancetoPrimitive. Return immediatly in case
one of the sub-objects has already selected an object.
This may be the case with TPaveStats.

Revision 4083 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 24 18:01:15 2002 UTC (12 years, 11 months ago) by brun
File length: 11602 byte(s)
Diff to previous 4037
Add protections in case GetHistogram, GetXaxis, GetYaxis are called
and the fHistogram pointer is null. This situation can happen
when drawing a graph with no option or invalid options.

Revision 4037 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 19 17:43:41 2002 UTC (12 years, 11 months ago) by brun
File length: 11530 byte(s)
Diff to previous 3799
Add an optional argument to TMultiGraph::Draw.
This optional argument can be used to specify the draw option for this graph.
If a draw option is not specified, the option specified in TMultiGraph::Draw
will be used instead.

Also, always use the option "0" when painting the frame histogram.
The option "0" suppresses the drawing of the horizonthal line at y=0.

Revision 3799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 28 11:51:09 2002 UTC (12 years, 11 months ago) by brun
File length: 10732 byte(s)
Diff to previous 3748
Fix a problem in TMultiGraph::Paint following the unzoom of the Y axis
when the Y axis title was non null

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
File length: 9874 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
File length: 9874 byte(s)
Diff to previous 3575
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 3575 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 3 13:08:48 2002 UTC (13 years ago) by brun
File length: 9881 byte(s)
Diff to previous 1500
Modify the algorithm computing the minimum of all TGraphs and take into account
the case where the minimum is negative when an Unzoom happens on the y axis.

Revision 1500 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 30 15:41:17 2001 UTC (13 years, 11 months ago) by brun
File length: 9847 byte(s)
Diff to previous 1205
Fix a problem in TMultiGraph::Paint when computing the max/min scale
of a TMultiGraph object having only graphs.

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
File length: 9488 byte(s)
Diff to previous 754
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 754 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Oct 12 13:27:23 2000 UTC (14 years, 3 months ago) by brun
File length: 9465 byte(s)
Add new class TMultiGraph.
//   A TMultiGraph is a collection of TGraph (or derived) objects
//   Use TMultiGraph::Add to add a new graph to the list.
//   The TMultiGraph owns the objects in the list.
//   Drawing options are the same as for TGraph
//   Example;
//     TGraph *gr1 = new TGraph(...
//     TGraphErrors *gr2 = new TGraphErrors(...
//     TMultiGraph *mg = new TMultiGraph();
//     mg->Add(gr1);
//     mg->Add(gr2);
//     mg->Draw("alp");

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