[R] multiple plot overlay - dataframe

Jose Lozano (MEGA) jelozano at wanadoo.es
Wed Feb 26 09:07:03 CET 2003


>I hope you could help me with this. I have a dataframe
>with 5 columns, the first column determining the X
>values, and the rest four determining four separate Y
>vectors. How can I plot them on the same graph,
>overlaying each other?

Use matplot() to plot several plots in the same window.

help(matplot) for more info.

Regards
Jose Lozano




More information about the R-help mailing list