[R] transparent surface in rgl

John Fox jfox at mcmaster.ca
Wed Oct 5 15:49:05 CEST 2005


Dear Paul,

I don't have experience with rgl.postscript(), which is relatively new, but
find that the png graphs produced by rgl.snapshot() are of reasonably good
quality and preserve transparency. Perhaps the developers of the rgl package
can shed more light on the matter.

I hope this helps,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
-------------------------------- 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Prof. 
> Paul R. Fisher
> Sent: Wednesday, October 05, 2005 8:32 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] transparent surface in rgl
> 
> Hi all
> I am a complete newbie to this list (just subscribed) and a 
> newcomer to R (an S user from olden times). I have been using 
> scatter3d to create a 3d scatter plot with surface. The 
> graphic is created within the rgl package and I have used 
> rgl.postscript to export it so I can generate a publication 
> quality image. My problem is that the plotted surface is no 
> longer transparent in the postscript output ie. the 
> rgl.spheres that are behind the surface disappear in the 
> postscript image. Can't seem to find any info on this 
> anywhere. Am I doing something wrong? Is there an easy fix?
> 
> Anyway, thanks.
> Hope I've not broken some netiquette rule sending this.
> 
> Cheers,
> Paul Fisher.
> --
> Prof. Paul R. Fisher,
> Chair in Microbiology,
> La Trobe University,
> VIC 3086,
> AUSTRALIA.
> 
> Tel. + 61 3 9479 2229
> Fax. + 61 3 9479 1222
> Email. fisher at lumi.latrobe.edu.au
> Web. http://www.latrobe.edu.au/mcbg/my.html
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list