s-news
[Top] [All Lists]

Re : Superposing graphics with exactly

To: s-news@lists.biostat.wustl.edu
Subject: Re : Superposing graphics with exactly
From: Tristan Lorino <tristan.lorino@lcpc.fr>
Date: Mon, 13 Mar 2006 16:00:59 +0100
In-reply-to: <36be866e.9866fb74.81a8d00@po-d.temple.edu>
Organization: LCPC
References: <36be866e.9866fb74.81a8d00@po-d.temple.edu>
Reply-to: Tristan Lorino <tristan.lorino@lcpc.fr>
Message de Richard M. Heiberger, reçu le lundi 13 mars 2006 à 15:32 :

RMH> You are probably looking for 
RMH> par(xaxs="d", yaxs="d")
RMH> These values lock the axes to the same postitions they had in
RMH> the previous graph.

Thank you... I tried:
-----------------------
z_data.frame(size=c(3720,16962,11627,9676),mean=c(.6,.7,.3,.5),ax=0:3)
z
barplot(z$size,names=as.character(z$ax))
par(new=T)
plot(z$ax,z$mean,type="l",ylim=c(.3,.8),xlab="Age",ylab="",xaxs='d')
-----------------------
but as you can see at http://daedale.free.fr/aventurine/scale.png ,
there is still "a bug" in x-axis...

Tristan


-- 
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>