Description Usage Arguments Value Examples
Plot a dataframe, multiple ys against one x
1 2 3 4 |
x |
a vector |
y |
a vector or a dataframe with the same length as x |
add |
logical, whether to add this plot to the previous one |
xlab |
character |
ylab |
character |
myaxes |
logical, whether to display axes automatically |
xlim |
numeric |
ylim |
numeric |
mycol |
colours |
mytype |
character |
mypch |
numeric or character |
mycex |
numeric |
mylty |
numeric |
lwd |
numeric |
xerror |
errorbar, same dimension of x |
yerror |
same dimension of y |
mycolerrorbar |
error bar colours |
mylegend |
character |
mylegendcol |
colors |
mylegendcex |
numeric |
legendpos |
character |
a figure
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.