ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/SampleClass.C
(Generate patch)

Comparing UserCode/cbrown/AnalysisFramework/Plotting/Modules/SampleClass.C (file contents):
Revision 1.5 by buchmann, Tue Jul 12 12:57:10 2011 UTC vs.
Revision 1.6 by buchmann, Thu Jul 14 06:25:07 2011 UTC

# Line 472 | Line 472 | Color_t samplecollection::GetColor(int s
472  
473   TLegend* samplecollection::allbglegend(string title, TH1F *data,float posx=0.65, float posy=0.60) {
474   //  TLegend *leg = new TLegend(0.65,0.60,0.89,0.77);
475 <  TLegend *leg = new TLegend(posx,posy,0.89,0.77);
475 >  TLegend *leg = new TLegend(posx,posy,0.89,0.89);
476    if(title!="") leg->SetHeader(title.c_str());
477    if(data->GetName()!="nothing") leg->AddEntry(data,"Data","p");
478    leg->SetFillColor(kWhite);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines