powered by
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(...)
Nothing
Parameters for plot()
Marc Girondot marc.girondot@gmail.com
plot_add adds a plot to a previous one
Other plot and barplot functions: ScalePreviousPlot(), barplot_errbar(), plot_errbar(), show_name()
ScalePreviousPlot()
barplot_errbar()
plot_errbar()
show_name()
if (FALSE) { 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") }
Run the code above in your browser using DataLab