[R] plot question

alexbri alexbri at netcabo.pt
Thu May 19 15:03:20 CEST 2005


thks Dimitris, it helped a lot.
 
alex

	-----Mensagem original----- 
	De: Dimitris Rizopoulos [mailto:dimitris.rizopoulos at med.kuleuven.ac.be] 
	Enviada: qui 19-05-2005 12:50 
	Para: alexbri 
	Cc: r-help at 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 at netcabo.pt>
	To: <r-help at 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 at 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
	>




More information about the R-help mailing list