Re: [R] How to control spaces between axis, tick and label in xyplot or xYplot?

2010-01-11 Thread willow1980
Thanks a lot for your help! I have tried Peter's code: it works perfectly. Hopefully, this method will also be helpful to others with similar problems. Best regards, Jianghua -- View this message in context:

[R] How to control spaces between axis, tick and label in xyplot or xYplot?

2010-01-10 Thread willow1980
Dear R users, I encounter a problem regarding space control in xyplot. Basically, I want to control spaces between label, tick and axis. I remember there is a function called mgp in general plot. Is there a similar function for xyplot or xYplot? Below is my basic code:

Re: [R] How to control spaces between axis, tick and label in xyplot or xYplot?

2010-01-10 Thread David Winsemius
On Jan 10, 2010, at 9:45 AM, willow1980 wrote: Dear R users, I encounter a problem regarding space control in xyplot. Basically, I want to control spaces between label, tick and axis. I remember there is a function called mgp in general plot. Is there a similar function for xyplot or

Re: [R] How to control spaces between axis, tick and label in xyplot or xYplot?

2010-01-10 Thread Peter Ehlers
You don't provide reproducible code and your space bar seems to be broken (or perhaps, you're trying to save bandwidth by minimizing the number of characters sent), but this may be what you're after: myspacing - 0.5 xyplot(Sepal.Length ~ Petal.Length | Species, data = iris, layout =