[R] biplot

Bernardo Rangel Tura tura at centroin.com.br
Tue Nov 20 11:51:12 CET 2007


On Mon, 2007-11-19 at 13:51 -0500, Weiwei Shi wrote:
> Hi,
> 
> I am wondering how to draw biplot with the same scales on both plots?
> For example, if the two plots have much different scales, generally
> the two x-y's are scaled so that the two plots are sitting in the
> center automatically. How to disable this?
> 
> Thanks

Hi WeiWei

To solve your problem you must use the options xlim, ylim in your biplot


par(mfrow=c(2,1))
biplot(...,xlim=c(minimun,maximun),ylim=c(minimun,maximun),...)
biplot(...,xlim=c(minimun,maximun),ylim=c(minimun,maximun),...)

-- 
Bernardo Rangel Tura, M.D,MPH,Ph.D
National Institute of Cardiology
Brazil



More information about the R-help mailing list