Changeset 2119 in Sophya for trunk/SophyaPI
- Timestamp:
- Jul 19, 2002, 1:37:30 AM (23 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/piaxes.cc
r2116 r2119 319 319 { 320 320 if(garde<0. || garde>=1.) garde = 0.025; 321 cout<<"ReSizeMinMax[log="<<axelog<<",garde="<<garde<<"] vmin="<<vmin<<" vmax="<<vmax<<endl;321 // cout<<"ReSizeMinMax[log="<<axelog<<",garde="<<garde<<"] vmin="<<vmin<<" vmax="<<vmax<<endl; 322 322 // Cas d'une echelle lineaire 323 323 if(!axelog || vmax<=0.) { … … 342 342 } 343 343 344 cout<<" vmin="<<vmin<<" vmax="<<vmax<<endl;344 // cout<<" vmin="<<vmin<<" vmax="<<vmax<<endl; 345 345 } 346 346 -
trunk/SophyaPI/PI/picons.cc
r1904 r2119 930 930 mCPBuffer[k] = mText[mLPo[j]+i]; k++; 931 931 } 932 mCPBuffer[k] = '\n'; k++;932 if (j<mCPendL-1) mCPBuffer[k] = '\n'; k++; 933 933 } 934 934 mCPBuffer[l] = '\0'; -
trunk/SophyaPI/PI/pieldrw.cc
r2088 r2119 77 77 int PIElDrawer::DecodeOptionString(vector<string> & opt, bool rmdecopt) 78 78 { 79 if (opt.size() < 1) return(0); 79 int nopt0 = opt.size(); 80 if (nopt0 < 1) return(0); 80 81 int ndec1 = PIDrawer::DecodeOptionString(opt, rmdecopt); 81 if (( opt.size()- ndec1) < 1) return(ndec1); // si tout a ete decode82 if ((nopt0 - ndec1) < 1) return(ndec1); // si tout a ete decode 82 83 vector<string> udopt; 83 84 unsigned int k = 0; … … 87 88 if ( (opts == "stdaxes") || (opts == "defaxes") || (opts == "boxaxes") ) 88 89 SetAxesFlags(kBoxAxes | kExtTicks | kLabels); 89 else if (opts == "simpleaxes")90 SetAxesFlags(kAxesDflt);91 else if (opts == "finesimpleaxes")92 SetAxesFlags(kAxesDflt | kMinTicks);93 90 else if (opts == "boxaxesgrid") 94 91 SetAxesFlags(kBoxAxes | kExtTicks | kLabels | kGridOn); … … 97 94 else if ((opts == "grid") || (opts == "fineaxesgrid")) 98 95 SetAxesFlags(kBoxAxes | kTicks | kLabels | kMinTicks | kMajTicks | kGridOn); 99 else if (opts == "simpleaxesgrid") 100 SetAxesFlags(kAxesDflt | kGridOn); 101 else if (opts == "finesimpleaxesgrid") 102 SetAxesFlags(kAxesDflt | kMinTicks | kGridOn); 96 else if (opts == "centeredaxes") 97 SetAxesFlags(kStdAxes | kMajTicks | kLabels); 98 else if (opts == "finecenteredaxes") 99 SetAxesFlags(kStdAxes | kMajTicks | kMinTicks | kLabels); 100 else if (opts == "centeredaxesgrid") 101 SetAxesFlags(kStdAxes | kMajTicks | kLabels | kGridOn); 102 else if (opts == "finecenteredaxesgrid") 103 SetAxesFlags(kStdAxes | kMajTicks | kMinTicks | kLabels | kGridOn); 103 104 else if (opts == "autofontsize") 104 105 SetAxesAutoFontSize(true); -
trunk/SophyaPI/PI/piimage.cc
r2092 r2119 527 527 bool fgcmap = false; 528 528 for(int kcc=0; kcc<PIColorMap::NumberStandardColorMaps(); kcc++) { 529 if (opts == PIColorMap::GetStandardColorMapName(kcc)) { 529 string colname = PIColorMap::GetStandardColorMapName(kcc); 530 for(unsigned int jll=0; jll<colname.length(); jll++) 531 colname[jll] = tolower(colname[jll]); 532 if (opts == colname) { 530 533 SetColMapId(PIColorMap::GetStandardColorMapId(kcc), false); 531 534 fgcmap = true; … … 649 652 void PIImage::Resize() 650 653 { 651 // 654 //printf("PIImage::Resize\n"); 652 655 // On bascule sur la fenetre transient pour l'affichage des valeurs si fenetre trop petite 653 656 if ((XSize() < 300) || (YSize() < 150) ) atrtw = true; -
trunk/SophyaPI/PI/piscdrawwdg.cc
r2114 r2119 299 299 if (d == NULL) return(-1); 300 300 if (! LimitsFixed() ) { // On met a jour les limites 301 // Le calcul de limites peut dependre du flag AxeLog Yes/No 302 // pour le calcul de la marge de garde en particulier. On met 303 // donc les flags AxeLog a jour avant UpdateLimits() Reza+CMV 07/2002 304 d->SetLogScale(isDefaultDrawerLogScaleX(), isDefaultDrawerLogScaleY()); 301 305 d->UpdateLimits(); 302 306 SetLimits(d->XMin(), d->XMax(), d->YMin(), d->YMax(), mDXdir, mDYdir); -
trunk/SophyaPI/PI/piversion.h
r2096 r2119 2 2 #define PIVERSION_H_SEEN 3 3 4 #define PI_VERSIONNUMBER 3.7 04 #define PI_VERSIONNUMBER 3.75 5 5 6 6 #endif
Note:
See TracChangeset
for help on using the changeset viewer.