[R] Set length of axes in lattice's xyplot?

Saptarshi Guha saptarshi.guha at gmail.com
Sun Feb 17 17:07:18 CET 2008


Hello,
	It is possible to set the aspect ratio  of the Y-axis to the X-axis  
in xyplot
	(a)	xyplot(y~x,aspect=1.8)
	Suppose I have only 1 panel and i wish to set the length of the X- 
axis to 2" keeping the same aspect ratio as in (a), I suppose i need  
to do something in prepanel but what?
	Is there any function i can call to set the actual length of the axes?
	
Saptarshi Guha | saptarshi.guha at gmail.com | http://www.stat.purdue.edu/~sguha



More information about the R-help mailing list