On Sat, 11 Nov 2006, Robert Mintram wrote:

>  The following code plots a little histogram perfectly well under X on

It is not reproducible: please see the footer of this message.

> the screen but when I use the postscript command (also shown) to send 
> this to a file I get an incomplete histogram. It seems to print only the 
> first half of the bins. All headings and axes are OK.
>
>  hist(d[,2],25,xlab="Calls",main="Customer Weekly Profile")
>  # d[,2] is a data vector
>
>  postscript("cust.eps",horizontal=FALSE)
>
>  Any help would be greatly appreciated.

Apparently you forgot dev.off(): since this is to a file, file-buffering 
will mean the file is incomplete until you close it.

> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
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

______________________________________________
[email protected] 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.

Reply via email to