From b4525c083a96873810ea339fdfc042c0d02d8e60 Mon Sep 17 00:00:00 2001
From: Olivier Couet <Olivier.Couet@cern.ch>
Date: Thu, 19 Jun 2008 14:34:37 +0000
Subject: [PATCH] - Mods in order to use this macro in the documentation.

git-svn-id: http://root.cern.ch/svn/root/trunk@24379 27541ba8-7e3a-0410-8455-c3a389f83636
---
 tutorials/graphs/exclusiongraph.C | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/tutorials/graphs/exclusiongraph.C b/tutorials/graphs/exclusiongraph.C
index 63c990e255d..c984388e8a6 100644
--- a/tutorials/graphs/exclusiongraph.C
+++ b/tutorials/graphs/exclusiongraph.C
@@ -1,14 +1,8 @@
-void exclusiongraph() {
-   // Draw three graphs with an exclusion zone. This drawing mode is activated
-   // when the absolute value of the graph line width (set thanks to
-   // SetLineWidth) is greater than 99. In that case the line width number is
-   // interpreted as 100*ff+ll = ffll . The two digits number "ll" represent the
-   // normal line width whereas "ff" is the filled area width. The sign of
-   // "ffll" allows to flip the filled area from one side of the line to the
-   // other. The current fill area attributes are used to draw the hatched zone.
+TCanvas *exclusiongraph() {
+   // Draw three graphs with an exclusion zone.
    //Author: Olivier Couet
    
-   TCanvas *c1 = new TCanvas("c1","Exclusion graphs examples",200,10,700,500);
+   TCanvas *c1 = new TCanvas("c1","Exclusion graphs examples",200,10,600,400);
    c1->SetGrid();
 
    TMultiGraph *mg = new TMultiGraph();
@@ -46,4 +40,6 @@ void exclusiongraph() {
    mg->Add(gr2);
    mg->Add(gr3);
    mg->Draw("AC");
+
+   return c1;
 }
-- 
GitLab