Re: [R] Lattice .ps graphic is rotated in LaTeX slides

2004-10-02 Thread John Maindonald
On 2 Oct 2004, at 8:04 PM, [EMAIL PROTECTED] wrote: On Fri, 2004-10-01 at 10:58, Peter Dalgaard wrote: Michael Friendly [EMAIL PROTECTED] writes: ! Package graphics Error: Division by 0. What am I doing wrong, or how could I do it differently so it would work? You might try \usepackage{graphicx}

[R] Lattice .ps graphic is rotated in LaTeX slides

2004-10-01 Thread Michael Friendly
I've generated a version of the classic dotplot of the barley data with library(lattice) data(barley) trellis.device(postscript, color=TRUE, file=barley2x3.ps) old.settings - trellis.par.get() trellis.par.set(background, list(col = white)) lset(list(superpose.symbol=list(pch=c(19, 1, 25, 2, 15,

Re: [R] Lattice .ps graphic is rotated in LaTeX slides

2004-10-01 Thread Peter Dalgaard
Michael Friendly [EMAIL PROTECTED] writes: ! Package graphics Error: Division by 0. What am I doing wrong, or how could I do it differently so it would work? You might try \usepackage{graphicx} instead. I seem to recall (vaguely) getting better results with that sometimes. -p --

Re: [R] Lattice .ps graphic is rotated in LaTeX slides

2004-10-01 Thread Marc Schwartz
On Fri, 2004-10-01 at 10:58, Peter Dalgaard wrote: Michael Friendly [EMAIL PROTECTED] writes: ! Package graphics Error: Division by 0. What am I doing wrong, or how could I do it differently so it would work? You might try \usepackage{graphicx} instead. I seem to recall (vaguely)

Re: [R] Lattice .ps graphic is rotated in LaTeX slides

2004-10-01 Thread Patrick Drechsler
Hi Michael, Michael Friendly wrote on 01 Oct 2004 16:09:45 MET: I've generated a version of the classic dotplot of the barley data with [sniped R-code] It looks fine with gv The image is in landscape format when viewed with gv. \begin{slide}

Re: [R] Lattice .ps graphic is rotated in LaTeX slides - PDF weirdness

2004-10-01 Thread Peter Dalgaard
Barry Rowlingson [EMAIL PROTECTED] writes: Marc Schwartz wrote: The one advantage of the Beamer package, for those that require it, is that it supports pdflatex, which the others do not. Though, it can be used with dvips/latex + ps2pdf, where needed. Has anyone else hit the

Re: [R] Lattice .ps graphic is rotated in LaTeX slides - PDF weirdness

2004-10-01 Thread Marc Schwartz
On Fri, 2004-10-01 at 12:54, Peter Dalgaard wrote: Barry Rowlingson [EMAIL PROTECTED] writes: Marc Schwartz wrote: The one advantage of the Beamer package, for those that require it, is that it supports pdflatex, which the others do not. Though, it can be used with dvips/latex +

Re: [R] Lattice .ps graphic is rotated in LaTeX slides - PDF weirdness

2004-10-01 Thread Achim Zeileis
On 01 Oct 2004 19:54:45 +0200 Peter Dalgaard wrote: Barry Rowlingson [EMAIL PROTECTED] writes: Marc Schwartz wrote: The one advantage of the Beamer package, for those that require it, is that it supports pdflatex, which the others do not. Though, it can be used with dvips/latex +

Re: [R] Lattice .ps graphic is rotated in LaTeX slides

2004-10-01 Thread Michael Friendly
That does indeed work! I had read the arguments section of ?postscript, but this will teach me to read the details. There could/should be a trellis.device(eps, ...) that supplies the appropriate defaults. For the perversely inclined I was able to use my original .ps file in this contorted

Re: [R] Lattice .ps graphic is rotated in LaTeX slides

2004-10-01 Thread Roger D. Peng
You might be encountering the infamous auto-rotation feature. In Unix you can turn it off via something like setenv GS_OPTIONS -dAutoRotatePages=/None (or the bash equivalent). -roger Michael Friendly wrote: I've generated a version of the classic dotplot of the barley data with