RE: [R] plot question

From: alexbri <alexbri_at_netcabo.pt>
Date: Thu 19 May 2005 - 23:03:20 EST


thks Dimitris, it helped a lot.  

alex

	-----Mensagem original----- 
	De: Dimitris Rizopoulos [mailto:dimitris.rizopoulos@med.kuleuven.ac.be] 
	Enviada: qui 19-05-2005 12:50 
	Para: alexbri 
	Cc: r-help@stat.math.ethz.ch 
	Assunto: Re: [R] plot question
	
	

	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 23:29:33 2005

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