Changeset 3145 in Sophya for trunk/SophyaPI/PIext/pihisto.h


Ignore:
Timestamp:
Jan 18, 2007, 5:33:46 PM (19 years ago)
Author:
ansari
Message:

1/ Petites modifs ds PIHisto et le P1DHistoWrapper - en particulier decodage des options et choix renvoi BinContent/Error/NEntries
2/ Codage Wrapper pour Histo-2D et modifs PIHisto2D
3/ Suppression des adaptateurs de tableaux PI des Histos2D ds pipodrw.h .cc, les
Wrappers d'histos heritant de P1D,P2DArrayAdapter
4/ Mise a jour Makefile et smakefile

Reza , 18/01/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pihisto.h

    r3135 r3145  
    2020  inline  P1DHistoWrapper*     HistoWrapper() {return(mHistoWp);}
    2121
    22 //   ce qu'on plot
    23   double DrawVal(int_4 i) {
    24     if(todraw==1) return mHistoWp->Value(i);
    25     if(todraw==2) return mHistoWp->Error(i);
    26     if(todraw==3) return mHistoWp->NbEntries(i);
    27     return (*mHistoWp)(i);
    28   }
    29 
    3022//   Methode de decodage des options
    3123  virtual int        DecodeOptionString(vector<string> & opt, bool rmdecopt=true);
     
    4032  P1DHistoWrapper*   mHistoWp;
    4133  bool mAdDO;
    42   bool stats,filled;
    43   short error,todraw;
    44   float spoX, spoY; // Stat pos offset par rapport a position defaut
     34  bool stats;        // if true: draw text with statistical information
     35  bool filled;       // if true: fill histo with fg color
     36  bool pline;        // if true: draw histogram as polyline
     37  bool error;        // if true: draw error bars
     38  float spoX, spoY;  // Stat pos offset par rapport a position defaut
    4539};
    4640
Note: See TracChangeset for help on using the changeset viewer.