A set of useful R functions
Make a color transparent.
Usage :
plot(x,y,col=makeTransparent("red"))
More examples and info in file
Color an area under a curve to left or right of given value.
Usage :
s <- curve(f(x))
area_poly(s, val, side="gauche", col="blue")
More examples and info in file