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()
        sc$alternating=0
        sc$tck=0

        xyplot(y~x,type='l',
               aspect=0.05,
               scales=sc,
               col='black',
               xlab='',
               ylab=''
        )
        When plotted on quartz(Mac) device, there is very little padding  
between the bottom of the curve and the lower horizontal axis and  
between the maximum values of the curve and the upper horizontal axis.
        How can i increase the padding  - top,bottom,left and right?
        Thanks in advance for your time.
        Regards
        Saptarshi

Saptarshi Guha | [EMAIL PROTECTED] | http://www.stat.purdue.edu/~sguha


        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to