plot_add | R Documentation |
To plot data, just add use it as a normal plot. It will plot
the new data without axes, or labels for axes.
This function is complementary to matlines() and matpoints() from package graphics.
plot_add(...)
... |
Parameters for plot() |
plot_add adds a plot to a previous one
Nothing
Marc Girondot marc.girondot@gmail.com
Other plot and barplot functions:
ScalePreviousPlot()
,
barplot_errbar()
,
plot_errbar()
,
show_name()
## Not run:
plot(x=1:100, y=sin(1:100), type="l", bty="n", xlim=c(1,200), xlab="x", ylab="y")
plot_add(x=1:200, y=cos(1:200), type="l", bty="n", col="red")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.