# Re: [R] plot question

From: Dimitris Rizopoulos <dimitris.rizopoulos_at_med.kuleuven.ac.be>
Date: Thu 19 May 2005 - 21:50:59 EST

do you need something like this:

par(mfrow=c(2, 2))

```plot(0:10, 0:10, axes=FALSE, xlim=c(0, 10))
axis(1, at=seq(0, 10, 5))
axis(2)
```

####
```plot(0:10, 0:10, axes=FALSE, xlim=c(0, 10))
axis(1, at=seq(0, 10, 2))
axis(2)
```

####
```plot(0:10, 0:10, axes=FALSE, xlim=c(0, 10))
axis(1, at=seq(0, 10, 1))
axis(2)

```

I hope it helps.

Best,
Dimitris

Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium

```Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat/
http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm

```
• Original Message ----- From: "alexbri" <alexbri@netcabo.pt> To: <r-help@stat.math.ethz.ch> Sent: Thursday, May 19, 2005 1:18 PM Subject: [R] plot question

> hi all:
>
> xlim and ylim are used to define the interval limits of a plot. I'm
> interested in the scale of values between this limits.
>
> suppose xlim=c(0,10)
> we can have e.g.
> 0 5 10
> 0 2 4 6 8 10
> 0 1 2 3 4 5 6 7 8 9 10
>
> which is the parameter that allows me to modify this?
>
> thanks in advance
> alexandre
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 19 22:03:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:51 EST