R-alpha: Glitch in postscript()

Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
21 Feb 1997 17:55:59 +0100

To: r-testers@stat.math.ethz.ch
Subject: R-alpha: Glitch in postscript()
From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
Date: 21 Feb 1997 17:55:59 +0100
Message-Id: <x2914iumhr.fsf@bush.kubism.ku.dk>

Do a plot in landscape mode, view with ghostscript, select "reopen".
Whooplah, plot turns 90 degrees. Only way to get it back to horizontal
seems to be to modify the Media setting or the magnification.

Someone else mentioned problems with landscape plots recently. Could
be same thing. I suspect the problem has something to do with this:

595.28 0 translate 90 rotate
/Helvetica findfont 10 scalefont setfont
0.5 setlinewidth
% float float --

Apparently, this stuff executes only once. If you put it at the
beginning of each page, the problem goes away. (I don't quite
understand this: At least a complete reopen of the file should
reexecute the Prologue. shouldn't it? Also puzzling me is the fact
that there's an unequal supply of gsave's (3) and grestore's (2) in
the file)

Also, I suspect that there should be a %% comment setting the
papersize. TeX output from dvips has

%%DocumentPaperSizes: a4

but that's with %!PS-Adobe-2.0. Anybody have the relevant details on
PS structure? (And is there really any reason to stick to PS v. 1.0?)
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch