[R] Set length of axes in lattice

From: Saptarshi Guha <saptarshi.guha_at_gmail.com>
Date: Sun, 17 Feb 2008 11:17:47 -0500


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 would also like to keep the same scales.
	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?
	Thank you
	Saptarsho

Saptarshi Guha | saptarshi.guha@gmail.com | http://www.stat.purdue.edu/~sguha

        [[alternative HTML version deleted]]



R-help_at_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. Received on Sun 17 Feb 2008 - 16:20:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 17 Feb 2008 - 18:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive