Hello together! How can I plot a landscape letter-format plot? With postscript, I just use the horizontal option and I get what I want, but it seems that the pdf lacks this option. Well, I could do a ps2pdf conversion of the generated ps-file. But is there a way to directly produce landscape pdf-plots with R? Thanks for any help. Greetings, Sebastian
Sebastian Weber wrote:> Hello together! > > How can I plot a landscape letter-format plot? With postscript, I just > use the horizontal option and I get what I want, but it seems that the > pdf lacks this option. Well, I could do a ps2pdf conversion of the > generated ps-file. But is there a way to directly produce landscape > pdf-plots with R?By setting arguments width > height? Uwe Ligges> Thanks for any help. > > Greetings, > > Sebastian > > ______________________________________________ > R-help at stat.math.ethz.ch 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.
PDF does not have orientation: just set the width > height in pdf() to get a 'landscape' plot. The 'horizontal' option in postscript() was originally (in S/S-PLUS) designed for sending plots direct to a printer: pdf() does not have that option either. On Fri, 23 Mar 2007, Sebastian Weber wrote:> How can I plot a landscape letter-format plot? With postscript, I just > use the horizontal option and I get what I want, but it seems that the > pdf lacks this option. Well, I could do a ps2pdf conversion of the > generated ps-file. But is there a way to directly produce landscape > pdf-plots with R?-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Apparently Analagous Threads
- Landscape problems with ps2pdf
- graphics landscape orientation
- Mixing portrait/landscape in a postscript file
- lattice plot - portrait / landscape
- How to print landscape from script in Windows: dev.print(win.print, printer="local printer name", ...) does not accept horizontal=TRUE