Vegard Andersen
2005-Nov-04 13:05 UTC
[R] Background only white when using rgl.postscript()
Hello! I use scatter3D() to produce my graphics. This works as expected, and I am able to set my background color to "black". But when I write to file using rgl.postscript(), the background color changes to white. Can anyone tell me how I can avoid this problem? Example code: # Produces 3D graph with black background: scatter3d(X, Y, Z, bg="black") # Writes a file which has white background: rgl.postscript("c://test//test3D.eps", fmt="eps") Thanks in advance! Best regards, Vegard Andersen Institute of Community Medicine University of Tromso, Norway.