Changeset 205 in Sophya for trunk/SophyaPI/PIext/pigfd1.cc


Ignore:
Timestamp:
Mar 1, 1999, 6:05:59 PM (27 years ago)
Author:
ercodmgr
Message:

1/ Adaptation pour passage en double de trace en coordonnees graphiques
User (UC) (float -> double)
2/ Adaptation pour passage en double pour les ArrayAdapter

Reza 1/03/99

File:
1 edited

Legend:

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

    r165 r205  
    4747dx = 0.02*(xmax-xmin);
    4848dy = 0.02*(ymax-ymin);
    49 SetLimits((float)xmin-dx,(float)xmax+dx,(float)ymin-dy,(float)ymax+dy);
     49SetLimits((double)xmin-dx,(double)xmax+dx,(double)ymin-dy,(double)ymax+dy);
    5050SetAxesFlags(kBoxAxes | kExtTicks | kLabels);
    5151}
    5252
    5353/* --Methode-- */
    54 void PIGenFitDat::Draw(PIGraphicUC* g, float xmin, float ymin, float xmax, float ymax)
     54void PIGenFitDat::Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax)
    5555{
    5656if (!mGFD) return;
     
    5959// On plotte les barre d'erreurs ligne demandee explicitement
    6060if(mLAtt!=PI_NotDefLineAtt) SelectErrBar(true,true);
    61 float xp,yp,er;
     61double xp,yp,er;
    6262for (int i=0; i<mGFD->NData(); i++) {
    6363  xp = mGFD->Absc(VarX,i);
Note: See TracChangeset for help on using the changeset viewer.