Show how to shade an area between two graphs
void graphShade() {
"A Simple Graph Example",200,10,700,500);
x[i] = 0.1+i*0.1;
ymax[i] = 10*
sin(x[i]+0.2);
ymin[i] = 8*
sin(x[i]+0.1);
}
grshade->
SetPoint(n+i,x[n-i-1],ymin[n-i-1]);
}
}
- Author
- Rene Brun
Definition in file graphShade.C.