Changeset 232 in PSPA
- Timestamp:
- Jan 7, 2013, 9:40:38 AM (11 years ago)
- Location:
- Interface_Web/trunk/pspaWT/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc
r231 r232 766 766 chart->addSeries(s); 767 767 768 chart->resize( 300, 300); // WPaintedWidget must be given explicit size768 chart->resize(400, 400); // WPaintedWidget must be given explicit size 769 769 770 770 … … 1089 1089 1090 1090 WAxis& axis = chart->axis(XAxis); 1091 axis.setLabelFormat("%. 1f");1091 axis.setLabelFormat("%.3f"); 1092 1092 axis.setGridLinesEnabled(true); 1093 1093 chart->axis(Y1Axis).setGridLinesEnabled(true); -
Interface_Web/trunk/pspaWT/src/particleBeam.cc
r231 r232 630 630 631 631 // 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.; 634 635 635 636 cout << "demi fenetre " << hfene << ", hpas= " << hpas << endl; … … 650 651 xcor= vector<double>(ihist); 651 652 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 ); 653 656 } 654 657
Note: See TracChangeset
for help on using the changeset viewer.