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@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.

______________________________________________
R-help@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.

Reply via email to