Re: [R] Question on spacing around plot and box in lattice

2008-04-03 Thread Deepayan Sarkar
On 4/3/08, Saptarshi Guha <[EMAIL PROTECTED]> wrote: > Hello, > How can i increase the padding between the axis and the data > region(box just containing the figure) in xyplot? > > An example: > new <- function(x){ if(x<0){ return(x^2) }else{ return(x) } } > x <- se

[R] Question on spacing around plot and box in lattice

2008-04-03 Thread Saptarshi Guha
Hello, How can i increase the padding between the axis and the data region(box just containing the figure) in xyplot? An example: new <- function(x){ if(x<0){ return(x^2) }else{ return(x) } } x <- seq(-1,1,length.out=100) y <- sapply(x,new) sc=list