Changeset 486 in Sophya for trunk/SophyaPI/PIext/pintuple.cc
- Timestamp:
- Oct 21, 1999, 2:22:56 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintuple.cc
r344 r486 12 12 SelectWt(NULL, 1); 13 13 SelectErrBar(); 14 SelectLabel(NULL); 14 15 } 15 16 … … 39 40 if (wK >= 0) mNT->GetMinMax(wK, wMin, wMax); 40 41 else { wMin = 0.; wMax = 1.; } 42 } 43 44 /* --Methode-- */ 45 void PINTuple::SelectLabel(const char* plabel) 46 { 47 if (plabel == NULL) lK = -1; 48 else { string name = plabel; lK = mNT->ColumnIndex(name); } 41 49 } 42 50 … … 126 134 else g->SelMarker(sz, mrk); 127 135 } 128 g->DrawMarker(xp, yp); 136 // Trace du marker 137 if ((wK >= 0)||(lK < 0)||(mMrk != PI_NotDefMarker)) g->DrawMarker(xp, yp); 138 // Trace eventuel du label 139 if (lK >= 0) g->DrawString(xp, yp, mNT->GetCelltoString(i, lK).c_str()); 140 129 141 } 130 142
Note:
See TracChangeset
for help on using the changeset viewer.