Changeset 1644 in Sophya for trunk/SophyaPI/PIext/pintuple.cc


Ignore:
Timestamp:
Aug 23, 2001, 7:51:29 PM (24 years ago)
Author:
cmv
Message:

amelioration impress Statistiques histo et histo2d cmv 23/8/2001

File:
1 edited

Legend:

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

    r686 r1644  
    207207  char label[64];
    208208  sprintf(label, "Nd= %d/ Ntot= %d", nok, mNT->NbLines());
    209   g->SelFontSz((YMax() - YMin())/25, mFAtt); 
     209  g->SelFontSz((YMax() - YMin())/30, mFAtt); 
    210210  PIGrCoord a,d;
    211211  double cH = (double)g->GetFontHeight(a,d);
    212   double cellHeight = cH * 1.3;
    213   double cellWidth =  (double)g->CalcStringWidth(label) * 1.1;
     212  double cellHeight = cH * 1.2;
     213  double cellWidth =   1.1 * (double)g->CalcStringWidth(label);
    214214  double xu, yu;
    215215  xu = g->DeltaUCX(XMax(), - cellWidth);
Note: See TracChangeset for help on using the changeset viewer.