Changeset 3149 in Sophya for trunk/SophyaPI/PIext/pihisto.cc


Ignore:
Timestamp:
Jan 18, 2007, 7:21:49 PM (19 years ago)
Author:
cmv
Message:

suite adaptation travail reza 2D et adapteur + adaptation aux modifs HistoErr cmv 18/01/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pihisto.cc

    r3145 r3149  
    4848      mRetFg = 0;
    4949    }   
    50     else if(opts.substr(0,8) == "hbinerr") {
     50    else if(opts.substr(0,7) == "hbinerr") {
    5151      mRetFg = 1;
    5252    }   
    53     else if(opts.substr(0,8) == "hbinent") {
     53    else if(opts.substr(0,7) == "hbinent") {
    5454      mRetFg = 2;
    5555    }   
     
    269269    else if(opts=="err") error=true;
    270270    else if(opts=="noerr" || opts=="nerr") error=false;
    271     // $CHECK$CMV  : on desactive pline si fill ?
    272271    else if(opts=="fill") { filled=true; pline=false; } 
    273272    else if(opts=="nofill" || opts=="nfill") filled=false;
    274     // $CHECK$CMV  : on desactive fill si pline ?
    275273    else if(opts=="pline") { pline=true; filled=false; }
    276274    else if(opts=="nopline") pline=false;
    277275    else if(opts.substr(0,11) == "statposoff=") {
    278       float xo=0., yo=0.;
    279       sscanf(opts.substr(11).c_str(),"%g,%g",&xo, &yo);
     276      double xo=0., yo=0.;
     277      sscanf(opts.substr(11).c_str(),"%lf,%lf",&xo, &yo);
    280278      spoX=xo; spoY=yo;
    281279    }
Note: See TracChangeset for help on using the changeset viewer.