[R] Setting a graph flushed to edges of axes

From: Saptarshi Guha <saptarshi.guha_at_gmail.com>
Date: Tue, 19 Feb 2008 14:09:07 -0500


        I need to plot a line graph using lattice so that the endpoints are flush with the left and right vertical axes.

	So the scale end points and horizontal axes length should coincide.
	This works
	u=newdata[1:100,] #u[,1] is from 1700-1795

	Now u[,3] is a categorical variable and now I want use u[,3] as a  
conditioning variable yet still plot with the above condition
	sc <- list()

	In this case there is some padding between the endpoints and the  
vertical axes.
	How can I remove this padding?

	Many thanks

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 Tue 19 Feb 2008 - 19:11:14 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 Tue 19 Feb 2008 - 21: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