Dear Brian,
sorry, library(lattice) is loaded, when I start R, so I forgot to add this.
I get "Ingo's title" if I plot directly to the screen. However, I do not get
it if I
use png() or I lose it if I save from the plot (screen).
Ingo
On 15 Nov 2007 at 10:30, Prof Brian Ripley wrote:
> Wo
Hi,
I am runing R2.6.0 (2007-10-03) on WindowsXP.
If I use png() to save a plot I lose the main title.
An example:
##
outfile <- "outfile.png"
p11 <- histogram( ~ height | voice.part, data = singer, xlab="Height",
main="Ingo's title")
p2 <- histogram( ~ height, data
Works for me when I add the library(lattice) you omitted
Since effectively all png() is doing is copying the screen, the problem is
unlikely to be in png(). Most such problems are when there is not enough
space to include labels, and you need to adjust margins or pointsize.
On Thu, 15 Nov
.ac.uk
www.foodandhealthnetwork.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ingo Holz
Sent: 15 November 2007 11:34
To: r-help@r-project.org
Subject: Re: [R] problem with png()
Dear Brian,
sorry, library(lattice) is loaded, when I start R, so I forgot to ad
4 matches
Mail list logo