I have data from a two-dimensional distribution, for example, uniform. I want to make a histogram with this data. I tried the package plot3D
, but it was not very cool.
teste = matrix(runif(100), ncol = 10)
plot3D::hist3D(z = teste, bty = "g", phi = 15, theta = -15,
xlab = "X1", ylab = "X2", zlab = "Relative frequency", main = "Teste",
col = NULL, border = "black", shade = 0.8, curtain = T, plot = T,
ticktype = "detailed", space = 0.15, d = 2, cex.axis = 1e-9, image = T, contour = T)