Changeset 3149 in Sophya for trunk/SophyaPI/PIext/pintuple.cc
- Timestamp:
- Jan 18, 2007, 7:21:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintuple.cc
r2755 r3149 364 364 || opts=="nostat" || opts=="nostats") SetStats(false); 365 365 else if(opts.substr(0,11) == "statposoff=") { 366 floatxo=0., yo=0.;367 sscanf(opts.substr(11).c_str(),"% g,%g",&xo, &yo);366 double xo=0., yo=0.; 367 sscanf(opts.substr(11).c_str(),"%lf,%lf",&xo, &yo); 368 368 SetStatPosOffset(xo, yo); 369 369 } … … 400 400 if(stats) opt.push_back("stat"); else opt.push_back("nstat"); 401 401 402 sprintf(str,"statposoff=% g,%g",spoX,spoY); opt.push_back(str);402 sprintf(str,"statposoff=%lf,%lf",spoX,spoY); opt.push_back(str); 403 403 404 404 if(connectPts) opt.push_back("connectpoints");
Note:
See TracChangeset
for help on using the changeset viewer.