[R] contours/density lines in sm library
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Tue Jun 13 08:25:43 CEST 2000
On Tue, 13 Jun 2000 markhall at gol.com wrote:
> I'm using R 1001 for Windows NT and the sm library. I'm trying to
> create plots for my data set like Bowman and Azzalini have in Figure 1.8
> (p. 9) of their book for my data (i.e. a contour plot for each group in my
> data set and its all plotted on 1 plot).
> The problem I'm having is that R is not drawing closed contour lines for each
> group. Sometimes it does; other times it draws 1/2 to 3/4ths of the contour
> line but stops. I could understand if it did this when there was overlap,
> but when the groups are separated at the 75% level, it doesn't make sense to me
> on why this happening.
> Any insites on solving this problem would be appreciated.
> If anybody wants to see the resulting plot, I'm happy to fax it to them.
(Um. So what device were you using?)
That example is given by sm.script(air_cont). The solid contour is not
quite closed on all platforms I tried, but the other two are. That includes
rw1001 on NT. The solid contour is also not closed on the S-PLUS original.
Either you have not followed the script exactly or there is problem
specific to your graphics card / printer / ....
Please do read the section on reporting bugs in the FAQ. Without exact
instructions for what you did there is no way we could reproduce this.
Potential bugs in add-on packages are best reported to the authors/porters,
not all of whom read R-help.
Brian D. Ripley, ripley at stats.ox.ac.uk
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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help