Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 2424)
+++ trunk/MagicSoft/Mars/Changelog	(revision 2425)
@@ -1,3 +1,12 @@
                                                  -*-*- END OF LINE -*-*-
+  2003/10/23: Abelardo Moralejo
+
+   * mhistmc/MHMcEnergyMigration.cc
+     - Changed the Draw procedure: with new root versions (3.04, 3.05)
+       the result of the used drawing options was different from what 
+       we had in 3.02, and the graphics output had become unreadable. 
+       Replacing some Draw() calls by DrawCopy() has solved the problem.
+
+
   2003/10/23: Thomas Bretz
 
Index: trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc
===================================================================
--- trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc	(revision 2424)
+++ trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc	(revision 2425)
@@ -209,7 +209,8 @@
     h2pfx->SetBit(kCanDelete);
     h2pfx->SetFillColor(41);
+    h2pfx->SetFillStyle(1001);
     h2pfx->SetMinimum(minEest);
     h2pfx->SetStats(kFALSE);
-    h2pfx->Draw("E3");
+    h2pfx->DrawCopy("E3");
 
     h2->SetBit(kCanDelete);
@@ -220,8 +221,10 @@
     h2pfx->SetLineColor(2);
     h2pfx->SetLineWidth(2);
-    h2pfx->Draw("L,histo,same");
+    h2pfx->SetFillColor(0);
+    h2pfx->DrawCopy("C,hist,same");
     h2pfx->SetDirectory(NULL);
 
     pad2->cd(2);
+
     gPad->SetBorderMode(0);
     gPad->SetLogx();
@@ -235,7 +238,8 @@
     h2pfx->SetBit(kCanDelete);
     h2pfx->SetFillColor(41);
+    h2pfx->SetFillStyle(1001);
     h2pfx->GetYaxis()->SetTitleOffset(1.4);
     h2pfx->SetStats(kFALSE);
-    h2pfx->Draw("E3");
+    h2pfx->DrawCopy("E3");
     h2->SetFillColor(1);
     h2->Draw("same,box");
@@ -243,5 +247,6 @@
     h2pfx->SetLineColor(2);
     h2pfx->SetLineWidth(2);
-    h2pfx->Draw("L,histo,same");
+    h2pfx->SetFillColor(0);
+    h2pfx->DrawCopy("C,hist,same");
     h2pfx->SetDirectory(NULL);
     
@@ -258,9 +263,10 @@
     h2pfx->SetBit(kCanDelete);
     h2pfx->SetFillColor(41);
+    h2pfx->SetFillStyle(1001);
     h2pfx->GetYaxis()->SetTitleOffset(1.4);
     h2pfx->SetStats(kFALSE);
     h2pfx->SetMinimum(-1.);
     h2pfx->SetMaximum(1.);
-    h2pfx->Draw("E3");
+    h2pfx->DrawCopy("E3");
     
     h2->SetFillColor(1);
@@ -269,5 +275,6 @@
     h2pfx->SetLineColor(2);
     h2pfx->SetLineWidth(2);
-    h2pfx->Draw("L,histo,same");
+    h2pfx->SetFillColor(0);
+    h2pfx->DrawCopy("L,histo,same");
     h2pfx->SetDirectory(NULL);
     
