[root] / trunk / graf2d / graf / inc / TGaxis.h Repository:
ViewVC logotype

Log of /trunk/graf2d/graf/inc/TGaxis.h

Parent Directory Parent Directory


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

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: 7342 byte(s)
Diff to previous 23140
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 23140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by rdm
File length: 7337 byte(s)
Diff to previous 20882
move the following directories to "graf2d":

asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf

move the following directories to "graf3d":

eve, ftgl, g3d, gl, x3d

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/graf/inc/TGaxis.h
File length: 7337 byte(s)
Diff to previous 19826
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 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/graf/inc/TGaxis.h
File length: 7337 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/graf/inc/TGaxis.h
File length: 7384 byte(s)
Diff to previous 15672
remove :$ from tag line

Revision 15672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7394 byte(s)
Diff to previous 15134
from Axel:
Change the signature of SavePrimitive from

  void SavePrimitive(ofstream &out, Option_t *option);
to
  void SavePrimitive(ostream &out, Option_t *option = "");

With this change one can do, eg
   myhist.SavePrimitive(std::cout);

WARNING: do rm -f tree/src/*.o

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7391 byte(s)
Diff to previous 13826
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 13826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 09:06:06 2006 UTC (9 years ago) by couet
Original Path: trunk/graf/inc/TGaxis.h
File length: 7326 byte(s)
Diff to previous 13244
- New methods SetTitleFont and SetTitleColor to be consistent with TAxis.

Revision 13244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 15 15:13:59 2005 UTC (9 years, 2 months ago) by couet
Original Path: trunk/graf/inc/TGaxis.h
File length: 7143 byte(s)
Diff to previous 9235
- mods to make the rules checker happy

Revision 9235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 17 15:33:49 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7253 byte(s)
Diff to previous 9217
Add function SetNdivisions

Revision 9217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 16 08:23:27 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7176 byte(s)
Diff to previous 8372
In TAxis class
==============
Add a new data member
   UShort_t     fBits2;          //second bit status word
Add new enum kDecimals
Add new functions:

         Bool_t  GetDecimals() const;
  virtual void   SetDecimals(Bool_t dot=kTRUE);  // *TOGGLE*
// Set the Decimals flag
// By default, blank characters are stripped, and then the
// label is correctly aligned. The dot, if last character of the string,
// is also stripped, unless this option is specified.
// One can disable the option by calling axis.SetDecimals(kTRUE).
// The flag (in fBits2) is passed to the drawing function TGaxis::PaintAxis

in TGaxis class
===============
Add new function:
   virtual void  SetDecimals(Bool_t dot=kTRUE);
     (same as TAxis::SetDecimals)

Modify TGaxis::PaintAxis to take into account the SetDecimals:
// Format of labels.
// -----------------
//
//   Blank characters are stripped, and then the
//   label is correctly aligned. the dot, if last
//   character of the string, is also stripped,
//   unless the option "." (a dot, or period) is specified.
//   if SetDecimals(kTRUE) has been called (bit TAxis::kDecimals set).
//   all labels have the same number of decimals after the "."
//   The same is true if gStyle->SetStripDecimals(kFALSE) has been called.

Revision 8372 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 12 00:31:22 2004 UTC (10 years, 10 months ago) by rdm
Original Path: trunk/graf/inc/TGaxis.h
File length: 7111 byte(s)
Diff to previous 7654
various small comment typos.

Revision 7654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 25 17:12:30 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7118 byte(s)
Diff to previous 7266
From Olivier:

Implement suggestion from Damir Buskulic:

- Take into account the decimal part of the time offset.
- New parameter "option" in SetTimeOffset. Default value is "local"
  meaning the time offset should be consider as a local time. It can
  be set to "gmt" meaning the time offset should be consider as GMT time.

Revision 7266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 12 09:18:01 2003 UTC (11 years, 4 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7092 byte(s)
Diff to previous 6413
Add new function TAxis::SetMoreLogLabels to draw more labels in case
of an axis in log scale with a small number of decades.
The options is kept in TAxis via the new bit kMoreLogLabels.
The corresponding changes in TGaxis to automatically import the TAxis option.
The bits in TGaxis duplicating the bits in TAxis have been removed.
The new function SetMoreLogLabels is visible in the TAxis context menu.

Revision 6413 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 09:00:21 2003 UTC (11 years, 9 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7205 byte(s)
Diff to previous 6155
From Olivier;
 New function SetTimeOffset in TAxis and TGaxis to change the time offset
for time Axis. This implied also changes in SetTimeFormat

Revision 6155 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 20 22:36:10 2003 UTC (11 years, 11 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7148 byte(s)
Diff to previous 5543
Add a new optional argument drawGridOnly to TGaxis::PaintAxis.
By default, this argument is false. If set to true, the function PaintAxis
paints only the grid (if gridx or/and y have been activated in the pad)

Revision 5543 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 5 11:37:36 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7118 byte(s)
Diff to previous 3668
Add a new option in TAxis and TGaxis to center the bin labels
on the center of the bin instead of the tick marks.
This option makes sense only when the number of bins is equal
to the number of tick marks.
The new function TAxis::CenterLabels sets the bit kCenterLabels.
CenterLabels is visible in the TAxis context menu.

Revision 3668 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 15 10:24:17 2002 UTC (13 years ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7019 byte(s)
Diff to previous 3549
Remove the static function Optimize. Use THLimitsFinder instead.

Revision 3549 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 2 21:42:48 2002 UTC (13 years ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7204 byte(s)
Diff to previous 3529
Add new member TAxis* fAxis.
Increment class version.

Add support for alphanumeric labels in TGaxis::PaintAxis.
This new implementation supports the new facilities introduced
in TAxis, TH1, etc. For more information see the news in TH1.

Revision 3529 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 23 09:09:33 2001 UTC (13 years, 1 month ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7120 byte(s)
Diff to previous 3144
Add new function TGaxis::ImportAxisAttributes(TAxis *axis).

Revision 3144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 31 11:28:38 2001 UTC (13 years, 2 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 7048 byte(s)
Diff to previous 2823
Add a new member function TGaxis::SetNoExponent to disable the notation
with 10^N when drawing the axis. This option is automatically selected
when drawing TAxis objects having this property.
Note that this option is implicitly selected if the number of digits
to draw a label is less than the fgMaxDigits global member.

Revision 2823 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 20 13:24:48 2001 UTC (13 years, 4 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 6919 byte(s)
Diff to previous 2130
Add a static member fgMaxDigits with the corresponding getter and setter.
fgMaxDigits is the maximum number of digits permitted for the axis
labels above which the notation with 10^N is used.
For example, to accept 6 digits number like 900000 on an axis
call TGaxis::SetMaxDigits(6). The default value is 5.

Revision 2130 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 7 12:28:25 2001 UTC (13 years, 8 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 6731 byte(s)
Diff to previous 1205
Function TGaxis::Optimize is now a static function. An additional optional
argument has also been added.

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
Original Path: trunk/graf/inc/TGaxis.h
File length: 6710 byte(s)
Diff to previous 952
      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 952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 21 20:22:50 2000 UTC (14 years, 2 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 6638 byte(s)
Diff to previous 148
Increment class version from 3 to 4.
change char* to const char* in functions:
  void    LabelsLimits(const char *label, Int_t &first, Int_t &last);
  virtual void    SetName(const char *name);

Revision 148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 10:56:59 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/graf/inc/TGaxis.h
File length: 6629 byte(s)
Diff to previous 3
   Members fWmin, fWmax changed from Float_t to Double_t
   TGaxis constructors have their arguments changed from Float_t to Double_tr
   The following functions have their arguments or return type
   changed from Float_t to Double_t:
        virtual void    AdjustBinSize(Double_t A1,  Double_t A2,  Int_t nold
                       ,Double_t &BinLow, Double_t &BinHigh, Int_t &nbins, Double_t &BinWidth);
        virtual void    DrawAxis(Double_t xmin,Double_t ymin,Double_t xmax,Double_t ymax,
                                 Double_t wmin,Double_t wmax,Int_t ndiv=510, Option_t *chopt="",
                                 Double_t gridlength = 0);
             Double_t   GetWmin()         {return fWmin;}
             Double_t   GetWmax()         {return fWmax;}
        virtual void    Optimize(Double_t A1,  Double_t A2,  Int_t nold
                       ,Double_t &BinLow, Double_t &BinHigh, Int_t &nbins, Double_t &BWID);
        virtual void    PaintAxis(Double_t xmin,Double_t ymin,Double_t xmax,Double_t ymax,
                                  Double_t &wmin,Double_t &wmax,Int_t &ndiv, Option_t *chopt="",
                                  Double_t gridlength = 0);
        virtual void    Rotate(Double_t X,  Double_t Y,  Double_t CFI, Double_t SFI
                              ,Double_t XT, Double_t YT, Double_t &U,   Double_t &V);
                void    SetWmin(Double_t wmin) {fWmin = wmin;}
                void    SetWmax(Double_t wmax) {fWmax = wmax;}

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/graf/inc/TGaxis.h
File length: 6507 byte(s)
Copied from: branches/rdm/graf/inc/TGaxis.h revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/graf/inc/TGaxis.h
File length: 6507 byte(s)
Initial import of ROOT into CVS

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