6
I have data of a two-dimensional distribution, for example, uniform. I wish to make a histogram with this data. I tried the package plot3D
, but it wasn’t very nice.
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)
I agree that your suggestion is better than the 3D graph. By the way, this type of graph is called heatmap.
– Molx