Changeset 506 in Sophya
- Timestamp:
- Oct 25, 1999, 10:35:36 AM (26 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r496 r506 684 684 usage += ">> Axes: stdaxes=defaxes=boxaxes simpleaxes boxaxesgrid \n"; 685 685 usage += " fineaxes grid=fineaxesgrid \n"; 686 usage += ">> LogScale : linx liny logx logy -> Lin/Log Scales for 2D plots \n"; 686 687 usage += ">> XYLimits : xylimits -> Forces X-Y limits in 2-D plots \n"; 687 688 usage += ">> DisplayWindow: next same win stack \n"; -
trunk/SophyaPI/PIext/nomimagadapter.cc
r495 r506 170 170 #pragma define_template NTupInt_Image<r_4> 171 171 #endif 172 #if defined( __ANSI_TEMPLATES__) || defined(__GNU_TEMPLATES__)172 #if defined(ANSI_TEMPLATES) || defined(__ANSI_TEMPLATES__) || defined(__GNU_TEMPLATES__) 173 173 template class NOMAdapter_Image<uint_2>; 174 174 template class NOMAdapter_Image<int_2>; -
trunk/SophyaPI/PIext/pistdimgapp.cc
r495 r506 203 203 mXmin = mYmin = -1.; 204 204 mXmax = mYmax = 1; 205 maXlog = maYlog = false; 205 206 SaveGraphicAtt(); 206 207 … … 483 484 scw->SetBinding(PIBK_elastic, PIBK_elastic, PIBK_elastic, PIBK_elastic); 484 485 scw->SetUserData(NULL, oid); 486 if (maXlog || maYlog) scw->SetLogScale(maXlog, maYlog); // Echelle log 485 487 if (mFXYlim) // Forcage limites XY 486 488 scw->SetLimits(mXmin, mXmax, mYmin, mYmax); … … 1307 1309 mSYmin = mYmin; mSYmax = mYmax; 1308 1310 mSFXYlim = mFXYlim; 1311 mSaXlog = maXlog; 1312 mSaYlog = maYlog; 1309 1313 } 1310 1314 … … 1325 1329 mYmin = mSYmin; mYmax = mSYmax; 1326 1330 mFXYlim = mSFXYlim; 1327 } 1331 maXlog = mSaXlog; 1332 maYlog = mSaYlog; 1333 } -
trunk/SophyaPI/PIext/pistdimgapp.h
r440 r506 102 102 void SetXYLimits(double xmin=-1., double xmax=1., double ymin=-1., double ymax=1.); 103 103 inline void UseXYLimits(bool fg=false) { mFXYlim=fg; } 104 inline void SetXLogScale(bool logx=false) { maXlog = logx; } 105 inline void SetYLogScale(bool logy=false) { maYlog = logy; } 106 104 107 // Pour sauvegarder-restauration de l'etat des attributs graphiques 105 108 void SaveGraphicAtt(); … … 169 172 double mSXmin, mSXmax, mSYmin, mSYmax; 170 173 bool mFXYlim, mSFXYlim; 174 bool maXlog, mSaXlog; 175 bool maYlog, mSaYlog; 171 176 172 177 PIMessage mFCMsg; // Message for processing FileOpen -
trunk/SophyaPI/PIext/servnobjm.cc
r500 r506 1226 1226 mImgapp->SetXYLimits(); 1227 1227 mImgapp->UseXYLimits(); 1228 mImgapp->SetXLogScale(); 1229 mImgapp->SetYLogScale(); 1228 1230 return(ropt); 1229 1231 } … … 1265 1267 1266 1268 // Utilisation limites X-Y 1267 if ( grt[k] == "xylimits" ) { mImgapp->UseXYLimits(true); fgsrgr = true; continue; } 1269 if ( grt[k] == "xylimits" ) { mImgapp->UseXYLimits(true); fgsrgr = true; continue; } 1270 // Echelle logarithmique d'axe 1271 if ( grt[k] == "logx" ) { mImgapp->SetXLogScale(true); fgsrgr = true; continue; } 1272 if ( grt[k] == "linx" ) { mImgapp->SetXLogScale(false); fgsrgr = true; continue; } 1273 if ( grt[k] == "logy" ) { mImgapp->SetYLogScale(true); fgsrgr = true; continue; } 1274 if ( grt[k] == "liny" ) { mImgapp->SetYLogScale(false); fgsrgr = true; continue; } 1275 1268 1276 // Si c'est une couleur 1269 1277 it = GrAcolors.find(grt[k]);
Note:
See TracChangeset
for help on using the changeset viewer.