Description Usage Arguments Details Author(s) Examples
Plot the curve for a given function, and shade the area below it between two given limits.
1 2 3  | 
fun | 
 function  | 
xlim | 
 min and max X value to plot the curve  | 
shade.border | 
 Border color. By default the border is not drawed (NA), to let the initial curve unchanged.  | 
draw.curve | 
 = TRUE If FALSE, only plot the shaded area  | 
... | 
 Additional parameters are passed to fun via lapply  | 
shade.from=xlim[1] | 
 min X value for the shaded area  | 
shade.to=xlim[2] | 
 max X value for the shaded area  | 
length=1000 | 
 number of points for the polygon  | 
shade.col="gray" | 
 Shading color, passed to polygon()  | 
add=FALSE | 
 Add the shaded area to existing plot  | 
First version: 2015-03 Last modification: 2015-03
Jacques van Helden (Jacques.van-Helden@univ-amu.fr)
1 2 3  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.