Changeset 2524 in Sophya for trunk/SophyaPI/PIext/pintuple.cc
- Timestamp:
- Mar 23, 2004, 10:24:36 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintuple.cc
r2517 r2524 373 373 } 374 374 375 int PINTuple::OptionToString(vector<string> & opt) const 376 { 377 PIDrawer::OptionToString(opt); 378 379 char str[256]; 380 381 if(stats) opt.push_back("stat"); else opt.push_back("nstat"); 382 383 sprintf(str,"statposoff=%g,%g",spoX,spoY); opt.push_back(str); 384 385 if(connectPts) opt.push_back("connectpoints"); 386 else opt.push_back("noconnectpoints"); 387 388 if(colorScale) opt.push_back("colorscale"); 389 else opt.push_back("nocolorscale"); 390 391 if(mrkSzScale) { 392 if(nWbins>0) {sprintf(str,"sizescale=%d",nWbins); opt.push_back(str);} 393 else opt.push_back("sizescale"); 394 } else opt.push_back("nosizescale"); 395 396 return 1; 397 } 398 375 399 /* La methode GetOptionsHelpInfo(string& info) renvoie une chaine 376 400 avec la description des options comprises par ce drawer
Note:
See TracChangeset
for help on using the changeset viewer.