Function to simplify plotting shaded areas between two lines. Functionality to deal with missing values is added (breaks in the shaded areas where there are missing values).
1 |
y1,y2 |
vectors for vertical lines |
x |
vector with x intersects (optional) |
horizontal |
logical, x-y axis inverted if |
... |
additional arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.