Description Usage Arguments Examples
View source: R/plotting.data.ccf.functions.r
A colour ramp legend for the E variable in a Kobe plot
1 2 3 4 5 6 7 8 9 10 | colramp.legend(
col1 = "red",
col2 = "blue",
ncol,
xleft,
ybottom,
xright,
ytop,
...
)
|
col1 |
the bottom colour of the colour ramp |
ncol |
the number of colours in the ramp (typically length(E)) |
xleft |
a vector (or scalar) of left x positions |
ybottom |
a vector (or scalar) of bottom y positions |
xright |
a vector (or scalar) of right x positions |
ytop |
a vector (or scalar) of top y positions |
... |
par options for plot |
1 | colramp.legend(col1="red", col2="blue", ncol=length(PB$E), 2.5, 3.5, 2.7, 4.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.