I want to plot variation of more than one variable in single plot with different point types and points sizes . Can someone help me to do that, Thanks in advance. vinod ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels
Dimitris Rizopoulos
2007-Jan-27 17:22 UTC
[R] Canging the type of point points sizein plots..
try this x1 <- rnorm(10); y1 <- rnorm(10) x2 <- rnorm(10); y2 <- rnorm(10) x3 <- rnorm(10); y3 <- rnorm(10) ################# plot(range(x1, x2, x3), range(y1, y2, y3), type = "n") points(x1, y1, pch = 1, cex = 1, col = 1) points(x2, y2, pch = 2, cex = 2, col = 2) points(x3, y3, pch = 3, cex = 3, col = 3) I hope it helps. Best, Dimitris ---- Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015 Web: http://med.kuleuven.be/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm Quoting vinod gullu <vinodkgul at yahoo.com>:> I want to plot variation of more than one variable in > single plot with different point types and points > sizes . Can someone help me to do that, > > Thanks in advance. > vinod > > > > ____________________________________________________________________________________ > Now that's room service! Choose from over 150,000 hotels > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Possibly Parallel Threads
- How to return more than one variable from function
- Help neural network in R
- lm for matrix of response...
- stepAIC on lm() where response is a matrix..
- Hi I am vinod, I want to set up simple Samba PDC using tdbsam password backend. samba is installed on fedora 8 GNU/Linux. my network is about 30 windowsXP Pro. SP-2 static IP addressed machines. total no users about : 40 my network is : 192.168.1. sa