[R] shadow between two lines in plot()
jim at bitwrit.com.au
Thu Aug 2 12:48:26 CEST 2007
Ding, Rebecca wrote:
> Dear R users,
> I used the following code to draw a scatter plot.
> And then I used the abline functions to draw two lines. I want to add
> the shadow between those two lines.
> Any suggestions?
Have a look at polygon.shadow in the plotrix package. You can display a
shadow-like figure based on any polygon.
More information about the R-help