Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7840)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7841)
@@ -18,11 +18,4 @@
 
                                                  -*-*- END OF LINE -*-*-
- 2006/08/03 Markus Meyer
-
-   * datacenter/macros/fillstar.C
-     - update of reference values for muon analysis
-
-
-
  2006/08/03 Thomas Bretz
 
@@ -39,4 +32,12 @@
      - fixed a typo in a comment
 
+   * mhist/MHRate.cc, mhist/MHWeather.cc, mhvstime/MHSectorVsTime.cc,
+     mhvstime/MHVsTime.cc:
+     - changed position of SetMinimum and SetMaximum
+
+   * mimage/MHHillas.[h,cc]
+     - made the Center-Histogram in the case only one is displayed 
+       one with palette
+
 
 
@@ -45,4 +46,7 @@
    * resources/calibration.rc, calibration_spline.rc
      - update of correction factors
+
+   * datacenter/macros/fillstar.C
+     - update of reference values for muon analysis
 
 
Index: trunk/MagicSoft/Mars/NEWS
===================================================================
--- trunk/MagicSoft/Mars/NEWS	(revision 7840)
+++ trunk/MagicSoft/Mars/NEWS	(revision 7841)
@@ -61,4 +61,7 @@
      Use FirstBin=1 and NumEvents=120 to fit the effective on time
      from the resulting gamma candidates
+
+   - star: The Center histogram in MHHillas is now by default displayed
+     with the colz draw-option
 
    - ganymed: now pruduces valid error codes if failed
Index: trunk/MagicSoft/Mars/mhist/MHRate.cc
===================================================================
--- trunk/MagicSoft/Mars/mhist/MHRate.cc	(revision 7840)
+++ trunk/MagicSoft/Mars/mhist/MHRate.cc	(revision 7841)
@@ -96,6 +96,4 @@
     fRate.SetYTitle("Counts");
 
-    fRateTime.SetMinimum(0);
-
     fRate.SetDirectory(0);
     fRateZd.SetDirectory(0);
@@ -289,4 +287,8 @@
 void MHRate::Paint(Option_t *o)
 {
+    // If this is set to early the plot remains empty in root 5.12/00
+    if (fRateTime.GetN()>0)
+        fRateTime.SetMinimum(0);
+
     DrawGraph(fRateTime, "f [Hz]");
     /*
Index: trunk/MagicSoft/Mars/mhist/MHWeather.cc
===================================================================
--- trunk/MagicSoft/Mars/mhist/MHWeather.cc	(revision 7840)
+++ trunk/MagicSoft/Mars/mhist/MHWeather.cc	(revision 7841)
@@ -96,12 +96,4 @@
     InitGraph(fEventRate);
 
-    fHumidity.SetMinimum(0);
-    fHumidity.SetMaximum(100);
-    fTemperature.SetMinimum(-25);
-    fTemperature.SetMaximum(45);
-    fWindSpeed.SetMinimum(0);
-    fSolarRadiation.SetMinimum(0);
-    fEventRate.SetMinimum(0);
-
     fHumidity.SetMarkerColor(kBlue);
     fTemperature.SetMarkerColor(kRed);
@@ -262,4 +254,22 @@
 void MHWeather::Paint(Option_t *o)
 {
+    // If this is set to early the plot remains empty in root 5.12/00
+    if (fHumidity.GetN()>0)
+    {
+        fHumidity.SetMinimum(0);
+        fHumidity.SetMaximum(100);
+    }
+    if (fTemperature.GetN()>0)
+    {
+        fTemperature.SetMinimum(-25);
+        fTemperature.SetMaximum(45);
+    }
+    if (fWindSpeed.GetN()>0)
+        fWindSpeed.SetMinimum(0);
+    if (fSolarRadiation.GetN()>0)
+        fSolarRadiation.SetMinimum(0);
+    if (fEventRate.GetN()>0)
+        fEventRate.SetMinimum(0);
+
     DrawGraph(fHumidity,       "H [%]");
     DrawGraph(fSolarRadiation, "R [W/m^{2}]");
Index: trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc
===================================================================
--- trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc	(revision 7840)
+++ trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc	(revision 7841)
@@ -198,9 +198,4 @@
     fGraph->SetMarkerStyle(kFullDotMedium);
 
-    if (fMinimum!=-1111)
-        fGraph->SetMinimum(fMinimum);
-    if (fMaximum!=-1111)
-        fGraph->SetMaximum(fMaximum);
-
     fMin =  FLT_MAX;
     fMax = -FLT_MAX;
@@ -309,4 +304,10 @@
     }
 
+    // If this is set to early the plot remains empty in root 5.12/00
+    if (fMinimum!=-1111)
+        fGraph->SetMinimum(fMinimum);
+    if (fMaximum!=-1111)
+        fGraph->SetMaximum(fMaximum);
+
     // This is a workaround if the TGraph has only one point.
     // Otherwise MStatusDisplay::Update hangs.
Index: trunk/MagicSoft/Mars/mimage/MHHillas.cc
===================================================================
--- trunk/MagicSoft/Mars/mimage/MHHillas.cc	(revision 7840)
+++ trunk/MagicSoft/Mars/mimage/MHHillas.cc	(revision 7841)
@@ -271,17 +271,4 @@
 // --------------------------------------------------------------------------
 //
-// Setup a inversed deep blue sea palette for the fCenter histogram.
-//
-void MHHillas::SetColors() const
-{
-    gStyle->SetPalette(51, NULL);
-    Int_t c[50];
-    for (int i=0; i<50; i++)
-        c[49-i] = gStyle->GetColorPalette(i);
-    gStyle->SetPalette(50, c);
-}
-
-// --------------------------------------------------------------------------
-//
 // Creates a new canvas and draws the four histograms into it.
 // Be careful: The histograms belongs to this object and won't get deleted
@@ -344,33 +331,28 @@
     fSize->Draw(same?"same":"");
 
-    //if (!same)
-    {
-        pad->cd(4);
-        gPad->SetBorderMode(0);
-        gPad->SetPad(0.51, 0.01, 0.99, 0.65);
-        if (same)
+    pad->cd(4);
+    gPad->SetBorderMode(0);
+    gPad->SetPad(0.51, 0.01, 0.99, 0.65);
+    if (same)
+    {
+        TH2 *h=dynamic_cast<TH2*>(gPad->FindObject("Center"));
+        if (h)
         {
-            /*
-            TH1 *h = dynamic_cast<TH1*>(gPad->FindObject("Center"));
-            if (h)
-            {
-                h->SetDrawOption("");
-                h->SetMarkerColor(kBlack);
-            }*/
-            RemoveFromPad("CenterSame");
-            fCenter->SetMarkerColor(kGreen);
-            fCenter->Draw("same");
+            h->SetDrawOption("");
+            h->SetMarkerColor(kBlack);
         }
-        else
-        {
-            //SetColors();
-            fCenter->Draw(/*"colz"*/);
-        }
-        if (fGeomCam)
-        {
-            MHCamera *cam = new MHCamera(*fGeomCam);
-            cam->Draw("same");
-            cam->SetBit(kCanDelete);
-        }
+
+        RemoveFromPad("CenterSame");
+        fCenter->SetMarkerColor(kGreen);
+        fCenter->Draw("same");
+    }
+    else
+        fCenter->Draw("colz");
+
+    if (fGeomCam)
+    {
+        MHCamera *cam = new MHCamera(*fGeomCam);
+        cam->Draw("same");
+        cam->SetBit(kCanDelete);
     }
 
@@ -383,7 +365,4 @@
     if (gPad && !same)
         delete gPad;
-
-    //pad->Modified();
-    //pad->Update();
 }
 
@@ -408,5 +387,5 @@
 void MHHillas::Paint(Option_t *opt)
 {
-    SetColors();
+    MH::SetPalette("pretty");
     MH::Paint();
 }
Index: trunk/MagicSoft/Mars/mimage/MHHillas.h
===================================================================
--- trunk/MagicSoft/Mars/mimage/MHHillas.h	(revision 7840)
+++ trunk/MagicSoft/Mars/mimage/MHHillas.h	(revision 7841)
@@ -23,6 +23,4 @@
     TH1F *fSize;    //-> Sum of used pixels
     TH2F *fCenter;  //-> Center
-
-    void SetColors() const;
 
     MGeomCam *fGeomCam; //! Camera geometry for plots (for the moment this is a feature for a loop only!)
