Ignore:
Timestamp:
08/16/10 09:06:19 (14 years ago)
Author:
tbretz
Message:
Improved display of MHRanForestGini.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mranforest/MHRanForestGini.cc

    r9583 r9865  
    7171
    7272    fGraphGini.SetNameTitle("Gini", "Importance of RF-input parameters measured by mean Gini decrease");
    73     fGraphGini.SetMarkerStyle(kFullDotMedium);
     73    fGraphGini.SetMarkerStyle(28);
     74    fGraphGini.SetFillColor(38);
    7475
    7576    fGraphError.SetNameTitle("ResErr", "Resolution/Error versus train step");
     
    175176    pad->cd(1);
    176177    gPad->SetBorderMode(0);
    177     gPad->SetGridx();
    178     gPad->SetGridy();
    179     fGraphGini.Draw("ALP");
     178    gPad->SetGrid();
     179    fGraphGini.Draw("AB");
    180180
    181181    TH1 *h = fGraphGini.GetHistogram();
     
    185185        h->SetYTitle("Mean decrease in Gini-index [au]");
    186186        h->GetXaxis()->SetNdivisions(10);
     187        h->SetMinimum(0);
    187188    }
    188189
    189190    pad->cd(2);
    190191    gPad->SetBorderMode(0);
     192    gPad->SetGridy();
    191193    fGraphError.Draw("ALP");
    192194    h = fGraphError.GetHistogram();
     
    195197        h->SetXTitle("Train step/Tree number");
    196198        h->SetYTitle("Error/Resolution");
     199        h->SetMinimum(0);
    197200    }
    198201
    199202    pad->cd(3);
    200203    gPad->SetBorderMode(0);
     204    gPad->SetGridy();
    201205    fGraphNodes.Draw("ALP");
    202206    h = fGraphNodes.GetHistogram();
     
    205209        h->SetXTitle("Train step/Tree number");
    206210        h->SetYTitle("Number of end nodes");
     211        h->SetMinimum(0);
    207212    }
    208213
Note: See TracChangeset for help on using the changeset viewer.