Changeset 1505 for trunk


Ignore:
Timestamp:
08/16/02 11:55:51 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MH.cc

    r1504 r1505  
    568568    // Draw Legend
    569569    //
     570    const Int_t    n = s1.GetListOfLines()->GetSize();
     571    const Double_t h = s1.GetY2NDC()-s1.GetY1NDC();
    570572    TLegend &l = *new TLegend(s1.GetX1NDC(),
    571                               s1.GetY1NDC()-0.015-(s1.GetY2NDC()-s1.GetY1NDC())/2,
     573                              s1.GetY1NDC()-0.015-h*2/n,
    572574                              s1.GetX2NDC(),
    573575                              s1.GetY1NDC()-0.01
Note: See TracChangeset for help on using the changeset viewer.