Skip to content
Snippets Groups Projects
Commit 532e8fd9 authored by Bertrand Bellenot's avatar Bertrand Bellenot
Browse files

Remove useless (and even confusing) calls to SetFillColor() and SetFillStyle() in one example

git-svn-id: http://root.cern.ch/svn/root/trunk@39830 27541ba8-7e3a-0410-8455-c3a389f83636
parent 1ae5244e
No related branches found
No related tags found
No related merge requests found
...@@ -129,8 +129,6 @@ MyMainFrame::MyMainFrame(const TGWindow *p,UInt_t w,UInt_t h) { ...@@ -129,8 +129,6 @@ MyMainFrame::MyMainFrame(const TGWindow *p,UInt_t w,UInt_t h) {
void MyMainFrame::DoDraw() { void MyMainFrame::DoDraw() {
<emphasis role="italic">// Draws function graphics in randomly choosen interval</emphasis> <emphasis role="italic">// Draws function graphics in randomly choosen interval</emphasis>
TF1 *f1 = new TF1("f1","sin(x)/x",0,gRandom-&gt;Rndm()*10); TF1 *f1 = new TF1("f1","sin(x)/x",0,gRandom-&gt;Rndm()*10);
f1-&gt;SetFillColor(19);
f1-&gt;SetFillStyle(1);
f1-&gt;SetLineWidth(3); f1-&gt;SetLineWidth(3);
f1-&gt;Draw(); f1-&gt;Draw();
TCanvas *fCanvas = fEcanvas-&gt;GetCanvas(); TCanvas *fCanvas = fEcanvas-&gt;GetCanvas();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment