Re: [R] Re: How to make eps out of a trellis graphic?

From: Christian Hennig <fm3a004_at_math.uni-hamburg.de>
Date: Sat 03 Jul 2004 - 01:44:21 EST

  1. Thank you, this works.
  2. I meant qqmath, not qqnorm (you realized that).

Christian

On Fri, 2 Jul 2004, Deepayan Sarkar wrote:

> On Friday 02 July 2004 09:00, Christian Hennig wrote:
> > Hi list,
> >
> > I produced a trellis graphic with qqnorm (R-package lattice, no
> > changes in graphical parameters were made).
> > 1) The graphic uses some grey and some green colors and I would like
> > to have it black and white as usual.
> > 2) I would like to produce an eps-file of it. Usually I do this with
> > something like
> >
> > postscript("Rout.eps", horizontal=FALSE, onefile=FALSE,
> > paper="special", height=8, width=8)
> > nr <- dev.cur()
> > dev.set(dev.prev())
> > dev.copy(which=nr)
> > dev.off(nr)
> >
> > but this gives me an empty (plain white) eps-file this time.
> > So how to make an eps-figure out of my trellis plot?
>
> Do something like
>
> postscript("Rout.eps", horizontal=FALSE, onefile=FALSE,
> paper="special", height=8, width=8)
> qqnorm(<whatever>)
> dev.off()
>
> Deepayan
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



Christian Hennig
Fachbereich Mathematik-SPST/ZMS, Universitaet Hamburg hennig_at_math.uni-hamburg.de, http://www.math.uni-hamburg.de/home/hennig/
#######################################################################
ich empfehle www.boag-online.de

R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jul 03 01:47:40 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:39 EST