# Fillarea

Hi
I would like to draw a fill area to make a special region in the graph. I found the example below. But I would like to see only the fill area without the line on the border. Does anybody know a solution?
thanks for help
regards
florian

{
c1 = new TCanvas(“c1”,“Exclusion graphs examples”,200,10,700,500);
c1->SetGrid();
TMultiGraph mg = new TMultiGraph();
mg->SetTitle(“Exclusion graphs”);
const Int_t n = 35;
Double_t x1[n], x2[n], x3[n], y1[n], y2[n], y3[n];
for (Int_t i=0;i<n;i++) {
x1[i] = i
0.1; y1[i] = 10sin(x1[i]);
x2[i] = x1[i]; y2[i] = 10
cos(x1[i]);
x3[i] = x1[i]+.5; y3[i] = 10*sin(x1[i])-2;
}
gr1 = new TGraph(n,x1,y1);
gr1->SetLineColor(2);
gr1->SetLineWidth(1504);
gr1->SetFillStyle(3005);
gr2 = new TGraph(n,x2,y2);
gr2->SetLineColor(4);
gr2->SetLineWidth(-2002);
gr2->SetFillStyle(3004);
gr2->SetFillColor(9);
gr3 = new TGraph(n,x3,y3);
gr3->SetLineColor(5);
gr3->SetLineWidth(-802);
gr3->SetFillStyle(3002);
gr3->SetFillColor(2);
mg->Draw(“AC”);
}

Try:

``````   gr1->SetLineColor(0);
gr1->SetLineWidth(1501);``````

thanks it was helpful, but I found the solution… the command

gr->SetLineWidth(1900)

has no line anymore, because die first 2 bits 19 gave the size of the shaded area and the second 00 gave the size of the line.
thanks
regards
florian

Yes that way too…