Changeset 6907 for trunk/MagicSoft/Mars/mimage/MHImagePar.cc
- Timestamp:
- 04/04/05 10:18:01 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MHImagePar.cc
r6869 r6907 231 231 pad->Divide(2,2); 232 232 else 233 { 234 fHistSatHi.SetLineColor(kMagenta); 235 fHistSatLo.SetLineColor(kCyan); 236 237 fHistSizeMainIsland.SetLineColor(kMagenta); 238 fHistSizeSubIslands.SetLineColor(kCyan); 239 233 240 fHistIslands.SetLineColor(kGreen); 234 241 fHistNumSP.SetLineColor(kGreen); 242 fHistSizeSP.SetLineColor(kGreen); 243 } 244 245 pad->cd(1); 246 gPad->SetBorderMode(0); 247 MH::DrawSame(fHistSatHi, fHistSatLo, "Saturating Pixels", same); 248 fHistSatHi.SetMinimum(); // switch off to allow log-scale 249 fHistSatLo.SetMinimum(); // switch off to allow log-scale 250 fHistSatLo.SetMaximum(0.1); // dummy value to allow log-scale 251 252 pad->cd(4); 253 gPad->SetBorderMode(0); 254 MH::DrawSame(fHistSizeMainIsland, fHistSizeSubIslands, "Sizes...", same); 255 fHistSizeMainIsland.SetMinimum(); // switch off to allow log-scale 256 fHistSizeSubIslands.SetMinimum(); // switch off to allow log-scale 257 fHistSizeSubIslands.SetMaximum(0.1); // dummy value to allow log-scale 258 259 pad->cd(2); 260 gPad->SetBorderMode(0); 235 261 if (!same) 262 pad->GetPad(2)->Divide(1,2,1e-10,1e-10); 263 if (pad->GetPad(2)) 236 264 { 237 pad-> cd(1);265 pad->GetPad(2)->cd(1); 238 266 gPad->SetBorderMode(0); 239 MH::DrawSame(fHistSatHi, fHistSatLo, "Saturating Pixels"); 240 fHistSatHi.SetMinimum(); // switch off to allow log-scale 241 fHistSatLo.SetMinimum(); // switch off to allow log-scale 242 fHistSatLo.SetMaximum(0.1); // dummy value to allow log-scale 243 244 pad->cd(4); 267 fHistNumSP.Draw(same?"same":""); 268 pad->GetPad(2)->cd(2); 245 269 gPad->SetBorderMode(0); 246 MH::DrawSame(fHistSizeMainIsland, fHistSizeSubIslands, "Sizes..."); 247 fHistSizeMainIsland.SetMinimum(); // switch off to allow log-scale 248 fHistSizeSubIslands.SetMinimum(); // switch off to allow log-scale 249 fHistSizeSubIslands.SetMaximum(0.1); // dummy value to allow log-scale 270 fHistSizeSP.Draw(same?"same":""); 250 271 } 251 252 pad->cd(2);253 gPad->SetBorderMode(0);254 pad->GetPad(2)->Divide(1,2,1e-10,1e-10);255 pad->GetPad(2)->cd(1);256 gPad->SetBorderMode(0);257 fHistNumSP.Draw(same?"same":"");258 pad->GetPad(2)->cd(2);259 gPad->SetBorderMode(0);260 fHistSizeSP.Draw(same?"same":"");261 272 262 273 pad->cd(3);
Note:
See TracChangeset
for help on using the changeset viewer.