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:
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:
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
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 =
4 matches
Mail list logo