You can use also xlim and ylim, from the help page:

"  ...: arguments to be passed to or from methods."

pairs(iris[1:4], main = "Anderson's Iris Data -- 3 species",
        pch = 21, bg = c("red", "green3", "blue")[unclass(iris$Species)])

pairs(iris[1:4], main = "Anderson's Iris Data -- 3 species",
        pch = 21, bg = c("red", "green3", "blue")[unclass(iris$Species)],
        xlim = c(0,10), ylim = c(0,10))


On Wed, Jun 11, 2008 at 2:05 PM, He, Yulei <[EMAIL PROTECTED]> wrote:

> Hi, there:
>
>
>
> Does anyone know how to specify the ranges in the axises when I make
> scatter plots using pairs()? In the general plot function, I can use
> xlim and ylim option. But how can I do this if I use pairs()?
>
>
>
> Thanks.
>
>
>
> Yulei
>
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to