Changeset 7841 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 08/03/06 18:48:57 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHRate.cc
r7224 r7841 96 96 fRate.SetYTitle("Counts"); 97 97 98 fRateTime.SetMinimum(0);99 100 98 fRate.SetDirectory(0); 101 99 fRateZd.SetDirectory(0); … … 289 287 void MHRate::Paint(Option_t *o) 290 288 { 289 // If this is set to early the plot remains empty in root 5.12/00 290 if (fRateTime.GetN()>0) 291 fRateTime.SetMinimum(0); 292 291 293 DrawGraph(fRateTime, "f [Hz]"); 292 294 /* -
trunk/MagicSoft/Mars/mhist/MHWeather.cc
r7033 r7841 96 96 InitGraph(fEventRate); 97 97 98 fHumidity.SetMinimum(0);99 fHumidity.SetMaximum(100);100 fTemperature.SetMinimum(-25);101 fTemperature.SetMaximum(45);102 fWindSpeed.SetMinimum(0);103 fSolarRadiation.SetMinimum(0);104 fEventRate.SetMinimum(0);105 106 98 fHumidity.SetMarkerColor(kBlue); 107 99 fTemperature.SetMarkerColor(kRed); … … 262 254 void MHWeather::Paint(Option_t *o) 263 255 { 256 // If this is set to early the plot remains empty in root 5.12/00 257 if (fHumidity.GetN()>0) 258 { 259 fHumidity.SetMinimum(0); 260 fHumidity.SetMaximum(100); 261 } 262 if (fTemperature.GetN()>0) 263 { 264 fTemperature.SetMinimum(-25); 265 fTemperature.SetMaximum(45); 266 } 267 if (fWindSpeed.GetN()>0) 268 fWindSpeed.SetMinimum(0); 269 if (fSolarRadiation.GetN()>0) 270 fSolarRadiation.SetMinimum(0); 271 if (fEventRate.GetN()>0) 272 fEventRate.SetMinimum(0); 273 264 274 DrawGraph(fHumidity, "H [%]"); 265 275 DrawGraph(fSolarRadiation, "R [W/m^{2}]");
Note:
See TracChangeset
for help on using the changeset viewer.