| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | Re : Superposing graphics with exactly the same x-axis |
| From: | Tristan Lorino <tristan.lorino@lcpc.fr> |
| Date: | Mon, 13 Mar 2006 16:27:18 +0100 |
| In-reply-to: | <c3325bb8.986a93ed.81e8900@po-d.temple.edu> |
| Organization: | LCPC |
| References: | <c3325bb8.986a93ed.81e8900@po-d.temple.edu> |
| Reply-to: | Tristan Lorino <tristan.lorino@lcpc.fr> |
Message de Richard M. Heiberger, reçu le lundi 13 mars 2006 à 16:12 : RMH> To match the barplot scaling, you need to do a lienar transformation. With your idea, the following code gives to me what I want: z_data.frame(size=c(3720,16962,11627,9676),mean=c(.6,.7,.3,.5),ax=0:3) z tmp_barplot(z$size,names=as.character(z$ax)) par(new=T) plot(tmp,z$mean,type="l",ylim=c(.3,.8),xlab="Age",ylab="",axes=F,xaxs='d') -- Laboratoire Central des Ponts et Chaussées [Division ESAR ? Section AGR] Route de Bouaye BP 4129 44341 Bouguenais Cedex France Tél. 33 (0)2 40 84 56 18 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Re : Superposing graphics with exactly, Dimitris Rizopoulos |
|---|---|
| Next by Date: | Re: sapply question, Patrick Burns |
| Previous by Thread: | Re: Superposing graphics with exactly, Richard M. Heiberger |
| Next by Thread: | S-Plus Essentials April 24th-27th "006, Kathy Kiely |
| Indexes: | [Date] [Thread] [Top] [All Lists] |