Index: /trunk/MagicSoft/Mars/mhist/MH.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MH.cc	(revision 1504)
+++ /trunk/MagicSoft/Mars/mhist/MH.cc	(revision 1505)
@@ -568,6 +568,8 @@
     // Draw Legend
     //
+    const Int_t    n = s1.GetListOfLines()->GetSize();
+    const Double_t h = s1.GetY2NDC()-s1.GetY1NDC();
     TLegend &l = *new TLegend(s1.GetX1NDC(),
-                              s1.GetY1NDC()-0.015-(s1.GetY2NDC()-s1.GetY1NDC())/2,
+                              s1.GetY1NDC()-0.015-h*2/n,
                               s1.GetX2NDC(),
                               s1.GetY1NDC()-0.01
