[R] eliminating white space in lattice plot
dulcalma at bigpond.com
Sat Jan 18 14:23:28 CET 2014
I forgot to mention for multiple plots
From: Gerrit Draisma [mailto:gdraisma at xs4all.nl]
Sent: Saturday, 18 January 2014 21:49
To: arun; Duncan Mackay
Subject: Re: [R] eliminating white space in lattice plot
Ha Arun and Duncan,
Thanks for your answers.
They helped to solve my problem.
I found that the width and height parameters can be specified directly in
the pdf() command, and more useful for me in the R-code chunk in a Sweave
source file, as =============
Have a good day. Mine is already.
op 1/17/2014 5:37 PM arun schreef:
> May be this helps:
> On Friday, January 17, 2014 11:26 AM, Gerrit Draisma <gdraisma at xs4all.nl>
>> Dear R-users,
>> How do I get rid of the white space above and under >> a plot made with
>> I searched the documentation but could not find how to >> do it.
>> Standard lattice plots are square,
>> but sometimes I want a wide but low graph >> and use aspect parameter
to obtain such a graph.
>> But then the plot has a lot of white space above and below >> the
>> That makes it more difficult to include in a LaTeX document.
>> Gerrit Draisma
>> # pdf("wideplot.pdf")
>> # dev.off()
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help