Changeset 3145 in Sophya for trunk/SophyaPI/PIext/pihisto.h
- Timestamp:
- Jan 18, 2007, 5:33:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pihisto.h
r3135 r3145 20 20 inline P1DHistoWrapper* HistoWrapper() {return(mHistoWp);} 21 21 22 // ce qu'on plot23 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 30 22 // Methode de decodage des options 31 23 virtual int DecodeOptionString(vector<string> & opt, bool rmdecopt=true); … … 40 32 P1DHistoWrapper* mHistoWp; 41 33 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 45 39 }; 46 40
Note:
See TracChangeset
for help on using the changeset viewer.