Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one plot a 3D stacked histogram in R?

Tags:

r

histogram

3d

I want to plot stacked histograms in R; i.e. stack individual histograms in the third dimension.


thank you all for your suggestions, especially the one by Shane.

@hadley, I agree with your points, however, my situation is different: the main point I'm trying to convey by plotting four stacked histograms is that the tails vary significantly....the part that will get obscured is of no consequence in the data I'm presenting....also, being able to read the frequency axis is also not important since I'll be plotting the relative frequencies...

like image 870
Gradstudent Avatar asked Mar 08 '10 23:03

Gradstudent


1 Answers

One doesn't. This is a terrible display of data because the front histograms obscure the rear histograms and the perspective makes it just about impossible to read the values off the y-axis.

like image 185
hadley Avatar answered Sep 17 '22 23:09

hadley