Changeset 1057 in Sophya for trunk/SophyaPI/PIext/pihisto.cc
- Timestamp:
- Jul 7, 2000, 10:50:03 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pihisto.cc
r548 r1057 76 76 if (!mHisto) return; 77 77 78 if (mMrk != PI_NotDefMarker || ( typeid(*mHisto) == typeid(HProf) ) ) { 79 // Marqeurs definis OU HBProf => marqueurs+Erreurs si il y en a 80 if (mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine); 78 if(mMrk != PI_NotDefMarker || (typeid(*mHisto) == typeid(HProf)) ) { 79 // Marqeurs definis OU HProf => marqueurs+Erreurs si il y en a 80 if(typeid(*mHisto) == typeid(HProf)) 81 { HProf* hp = (HProf*) mHisto; if(!(hp->IsOk())) hp->UpdateHisto();} 82 if(mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine); 81 83 double x1,y1, x2,y2; 82 84 double bw = mHisto->BinWidth(); 83 for 85 for(int i=0; i<mHisto->NBins(); i++) { 84 86 if(mHisto->Error(i)>0.) { 85 87 // barres d'erreur verticales … … 100 102 oktrace = true; 101 103 } 102 if 104 if(mLAtt != PI_NotDefLineAtt) { 103 105 double x1,y1, x2, y2; 104 106 x1 = mHisto->BinLowEdge(0); 105 107 y1 = 0; 106 for 108 for(int i=0; i<mHisto->NBins(); i++) { 107 109 x2 = x1; 108 110 y2 = (*mHisto)(i); … … 127 129 } 128 130 // A faire a la fin - DrawStats change l'attribut de ligne 129 if 131 if(stats) DrawStats(g); 130 132 } 131 133
Note:
See TracChangeset
for help on using the changeset viewer.