[R] wireframe: how to remove the frame around my plot?
ligges at statistik.uni-dortmund.de
Thu Jul 24 22:26:52 CEST 2003
Jerome Asselin wrote:
> You can specify some options in "par.box". Use col=NA to make the frame
> transparent. See example below (which was modified from the help file).
> See also the "scales" parameter if you want to remove the arrows as well.
> x <- seq(-pi, pi, len = 20)
> y <- seq(-pi, pi, len = 20)
> g <- expand.grid(x = x, y = y)
> g$z <- sin(sqrt(g$x^2 + g$y^2))
> wireframe(z ~ x * y, g, drape = TRUE,
> perspective = FALSE,
> aspect = c(3,1), colorkey = FALSE,
> par.box = list(col=NA))
Which doesn't work on device
but works well on, e.g.,
Deepayan, since I don't have the time to check that right now: Is this
bug known? Is this a bug in R, grid or lattice?
> On July 24, 2003 12:44 pm, Alexis J. Diamond wrote:
> > Hi,
> > I've got a wireframe 3D surface plot, but I don't want a frame around
> > it. Is there any way to remove the frame, or (worst case)
> > change the color of the frame to the background color (which looks like
> > grey).
> > I'm using ver 1.7.1
> > I've tried frame.plot = F, but that doesn't seem to work for
> > 'wireframe'.
> > Many thanks,
> > Alexis Diamond
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> R-help at stat.math.ethz.ch mailing list
More information about the R-help