AckerDWM / gg3D

A ggplot2 extension enabling 3D projections
103 stars 11 forks source link

Integrating custom images for scatter plots #4

Open angoodkind opened 5 years ago

angoodkind commented 5 years ago

I cannot integrate this with custom images for scatterplot points. This code:

library(ggplot2)
library(ggimage)
library(gg3D)

ggplot(d, aes(x=x, y=y, z=z, color=z)) +
  axes_3D() +
  geom_image(aes(image=image, color=z)) +
  scale_color_gradient(low='burlywood1', high='burlywood4')

results in this output: bad_gg3d_plot