[R] How to export to pdf in landscape orientation?
Rainer Schuermann
Rainer.Schuermann at gmx.net
Sat Jun 25 20:11:15 CEST 2011
Tell PDF the size of your piece of paper - here is what works for me:
pdf( file = "result.pdf", width = 28, height = 18 ) # numbers are cm
some( stuff )
dev.off()
Hope it helps,
Rainer
On Saturday 25 June 2011 18:46:28 Juan Andres Hernandez wrote:
> Does anybody know how to get a pdf file with landscape orientation?.
>
> pdf(file= 'my_file.pdf' ,onefile=T,paper='A4')
> plot(sin, -pi, 2*pi)
> dev.off()
>
> Thank's in advance
>
> Juan A. Hernandez
> Spain
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list