Jason Rupert
2009-Jan-27 23:03 UTC
[R] 3-axis Barplots (plus qplot like staked histogram capability)
Searched my R reference docs*, and the Rseek, but evidently I've overlooked this capabilty. Is it possible to produce a 3d Barplot using R? For example would like to have a three axis bar plot - \ x-axis = location(discrete), y-axis = data value, z-axis = frequency of value occurance (of location and value) Would also if could also do something like what "qplot" allows, i.e. doing stacked histograms. I would like the "staked" histogram values to show age. Thanks for any feedback and insight that can be provided. * Amongst many others, thanks to : (1) Statistics with R, Vincent Zoonekynd, <zoonek@math.jussieu.fr> (2) An Introduction to R: Software for StatisticalModelling & Computing [[alternative HTML version deleted]]
Jason Rupert
2009-Jan-28 01:46 UTC
[R] 3-axis Barplots (plus qplot like staked histogram capability)
I very much appreciate the links, especially the one to http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=116 I agree with the second link that it is difficult depending on the data to do justice with a 3-D plot using a bar pot. The point of the plot is not to present the full quantitative picture, but just one piece of it. If there is something that produces a little bit better graphics than those from the scatterplot approach that would be great. It would be great if I could do a "surf" plot from the data, but unfortunately a lot of it is discrete, e.g. location. I guess this may just not be possible, but just thought I would check. Thanks again. --- On Tue, 1/27/09, Jorge Ivan Velez <jorgeivanvelez@gmail.com> wrote: From: Jorge Ivan Velez <jorgeivanvelez@gmail.com> Subject: Re: [R] 3-axis Barplots (plus qplot like staked histogram capability) To: jasonkrupert@yahoo.com Date: Tuesday, January 27, 2009, 5:13 PM Dear Jason, For the 3D barplot take a look at http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=116 but also at http://finzi.psych.upenn.edu/R/Rhelp02a/archive/27575.html HTH, Jorge On Tue, Jan 27, 2009 at 6:03 PM, Jason Rupert <jasonkrupert@yahoo.com> wrote: Searched my R reference docs*, and the Rseek, but evidently I've overlooked this capabilty. Is it possible to produce a 3d Barplot using R? For example would like to have a three axis bar plot - \ x-axis = location(discrete), y-axis = data value, z-axis = frequency of value occurance (of location and value) Would also if could also do something like what "qplot" allows, i.e. doing stacked histograms. I would like the "staked" histogram values to show age. Thanks for any feedback and insight that can be provided. * Amongst many others, thanks to : (1) Statistics with R, Vincent Zoonekynd, <zoonek@math.jussieu.fr> (2) An Introduction to R: Software for StatisticalModelling & Computing [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]]