[R] png raster in 3D chart

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sat Oct 30 18:58:31 CEST 2021

On 30/10/2021 12:42 p.m., Cleber Borges via R-help wrote:
> Hello all
> How to plot a raster image (like the R logo for example) on a plane of a
> 3D chart?
> My intention is to plot an image on each plane: xy, yz, xz...
> I've seen something a long time ago on the internet but I can't find it
> anymore.
> Thanks in advance for any help.

How are you drawing the plot?  If you are using rgl you could display a 
PNG file as a texture on a quadrilateral, or use the show2d() function 
to draw an R flat graphic and display that on a quadrilateral.

Duncan Murdoch

More information about the R-help mailing list