Re: [R] eliminating white space in lattice plot

2014-01-20 Thread Gerrit Draisma
; 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 source file, as = pdf("wideplot.pdf&q

Re: [R] eliminating white space in lattice plot

2014-01-18 Thread Duncan Mackay
I forgot to mention for multiple plots ? print.trellis Duncan -Original Message- From: Gerrit Draisma [mailto:gdrai...@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

Re: [R] eliminating white space in lattice plot

2014-01-17 Thread Duncan Mackay
-project.org Cc: Gerrit Draisma Subject: Re: [R] eliminating white space in lattice plot Hi, May be this helps:  x11(width=10,height=3)  xyplot(y~x,data=X,type="l",aspect=0.25)  dev.copy2pdf(file="wideplot.pdf") dev.off() A.K. On Friday, January 17, 2014 11:26 AM, Gerrit Dr

Re: [R] eliminating white space in lattice plot

2014-01-17 Thread arun
Hi, May be this helps:  x11(width=10,height=3)  xyplot(y~x,data=X,type="l",aspect=0.25)  dev.copy2pdf(file="wideplot.pdf") dev.off() A.K. On Friday, January 17, 2014 11:26 AM, Gerrit Draisma wrote: Dear R-users, How do I get rid of the white space above and under a plot made with lattice xyplo

[R] eliminating white space in lattice plot

2014-01-17 Thread Gerrit Draisma
Dear R-users, How do I get rid of the white space above and under a plot made with lattice xyplot? 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