Changeset 232 in PSPA


Ignore:
Timestamp:
Jan 7, 2013, 9:40:38 AM (11 years ago)
Author:
lemeur
Message:

ajustement parametres graphiques

Location:
Interface_Web/trunk/pspaWT/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc

    r231 r232  
    766766     chart->addSeries(s);
    767767
    768   chart->resize(300, 300); // WPaintedWidget must be given explicit size
     768  chart->resize(400, 400); // WPaintedWidget must be given explicit size
    769769 
    770770
     
    10891089 
    10901090  WAxis& axis = chart->axis(XAxis);
    1091   axis.setLabelFormat("%.1f");
     1091  axis.setLabelFormat("%.3f");
    10921092  axis.setGridLinesEnabled(true);
    10931093  chart->axis(Y1Axis).setGridLinesEnabled(true);
  • Interface_Web/trunk/pspaWT/src/particleBeam.cc

    r231 r232  
    630630 
    631631  // demi fenetre en energie, et pas de l'histogramme
    632   double hfene= max(3.*ecatyp-Emoy,Emoy-3.*ecatyp);
    633   double hpas = hfene/50.;
     632  //  double hfene= max(3.*ecatyp-Emoy,Emoy-3.*ecatyp);
     633  double hfene= 3.*ecatyp;
     634  double hpas = hfene/25.;
    634635
    635636  cout << "demi fenetre " << hfene << ", hpas= " << hpas << endl;
     
    650651  xcor= vector<double>(ihist);
    651652  for (int i = 0; i < ihist; ++i) {
    652     xcor[i]= vmin+i*hpas;
     653
     654    // on gradue l'abcisse en pourcents
     655    xcor[i]= 100.*( vmin+i*hpas );
    653656  }
    654657
Note: See TracChangeset for help on using the changeset viewer.