Description Usage Arguments Value Examples
Gradient
1 2 |
age |
vector of sizes |
ni |
number of symbols per size |
near |
factor applied to distance between symbols |
a |
intercept |
b |
slope |
icon |
symbol as a matrix |
colo |
vector of colors at the end of the color gradient spanning length(age) colors, default is c("darkgreen","green") |
seed |
for random number generator |
... |
input to function lines() |
plot of a gradient
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
Gradient()
Gradient(ni=19,near=0.5)
Gradient(c(1.41,1.3,1.21,1.13,1.06,1),29,icon=rbind(bush,fir-2))
Gradient(a=100,b=-0.6,icon=cod)
Gradient(exp((10:1)/5-4),near=0.5,icon=8*cod,colo = c("lightblue","cyan"))
Gradient(c(1.41,1.3,1.21,1.13,1.06,1),near=0.5,icon=wheat,colo = c("lightgreen","gold"),col="brown")
Gradient(icon=worm,colo = c("lightgray","cyan"),col="grey")
Gradient(icon=bike,colo="no",col="blue",lwd=3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.