Fork me on GitHub

Changeset 1202 in svn


Ignore:
Timestamp:
Jul 9, 2013, 10:42:28 PM (11 years ago)
Author:
Pavel Demin
Message:

set memory usage colors to black

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/MemoryUsage.C

    r1197 r1202  
    9999  grvsz.GetXaxis()->SetTitle("time, s");
    100100  grvsz.GetYaxis()->SetTitle("memory usage, kB");
    101   grvsz.SetLineColor(kRed);
    102   grrss.SetLineColor(kMagenta);
    103   grvsz.SetLineWidth(2);
    104   grrss.SetLineWidth(2);
     101  grvsz.SetLineColor(kBlack);
     102  grrss.SetLineColor(kBlack);
     103  grvsz.SetLineStyle(kDashed);
     104  grrss.SetLineStyle(kSolid);
     105  grvsz.SetLineWidth(3);
     106  grrss.SetLineWidth(3);
    105107  grvsz.Draw("AL");
    106108  grrss.Draw("L");
     
    110112  legend.SetFillColor(kExRootBackgroundColor);
    111113  legend.SetBorderSize(0);
    112   legend.AddEntry(&grvsz, "virtual memory size", "l");
    113   legend.AddEntry(&grrss, "resident set size", "l");
     114  legend.AddEntry(&grvsz, "virtual memory", "l");
     115  legend.AddEntry(&grrss, "physical memory", "l");
    114116  legend.Draw();
    115117}
Note: See TracChangeset for help on using the changeset viewer.