Skip to content

superimposing two scatterplots

3 messages · Raphael Schoenle, Andy Bunn, Robert Baer

#
?points

     plot(-4:4, -4:4, type = "n")# setting up coord. system
     points(rnorm(200), rnorm(200), col = "red")
     points(rnorm(100)/2, rnorm(100)/2, col = "blue", cex = 1.5)
#
Look at:
?plot
?points
----- Original Message ----- 
From: "Raphael Schoenle" <schoenle at fas.harvard.edu>
To: <r-help at stat.math.ethz.ch>
Sent: Monday, March 01, 2004 4:35 PM
Subject: [R] superimposing two scatterplots
http://www.R-project.org/posting-guide.html