| To: | "Khan, Sohail" <khan@cshl.edu> |
|---|---|
| Subject: | Re: Overlaying Graphs |
| From: | TzamouranisY@LouisDreyfus.com |
| Date: | Tue, 30 Aug 2005 07:32:48 -0400 |
| Cc: | <s-news@lists.biostat.wustl.edu> |
|
Try this, Sohail: x1 <- 1:10 > x2<- 11:20 > y1<- rnorm(10) > y2<-rnorm(10,0,1.5) > plot(x1,y1, xlim=range(x1,x2) , ylim=range(y1,y2) , type="b") > par(new=T, xaxs="d") > plot(x2,y2, xlim=range(x1,x2), type="b" ) Yannis Tzamouranis
Dear S-PLUS users, I want to create overlaying scatter plots. I.E. I have common x-axis for multiple variables. I couldn't find info. on how to go about doing this in the s-plus manual. I apologize if this is a trivial question for this list. Thanks Sohail Khan Scientific Programmer COLD SPRING HARBOR LABORATORY Genome Research Center 500 Sunnyside Boulevard Woodbury, NY 11797 (516)422-4076 -------------------------------------------------------------------- This message was distributed by s-news@lists.biostat.wustl.edu. To unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with the BODY of the message: unsubscribe s-news |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Overlaying Graphs, Khan, Sohail |
|---|---|
| Next by Date: | Royston's V' and v' functions, Ralph Henderson |
| Previous by Thread: | Overlaying Graphs, Khan, Sohail |
| Next by Thread: | Re: Overlaying Graphs, Sundar Dorai-Raj |
| Indexes: | [Date] [Thread] [Top] [All Lists] |