An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090127/e0616c92/attachment-0001.pl>
3-axis Barplots (plus qplot like staked histogram capability)
2 messages · Jason Rupert, Mark Difford
Hi Jason,
lattice, with the help of the latticeExtra package does excellent
"business"-like 3D bars. With devices like PDF that handle transparency you
can make the facets transparent.
library(lattice)
library(latticeExtra)
?panel.3dbars
## Example from the help file (modified to show alpha channel capab.)
cloud(VADeaths, panel.3d.cloud = panel.3dbars,
xbase = 0.4, ybase = 0.4,
screen = list(z = 40, x=-60), col.facet="grey", alpha.facet=.5)
Regards, Mark.
Jason Rupert wrote:
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 at gmail.com> wrote: From: Jorge Ivan Velez <jorgeivanvelez at gmail.com> Subject: Re: [R] 3-axis Barplots (plus qplot like staked histogram capability) To: jasonkrupert at 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 at 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 at math.jussieu.fr> (2) An Introduction to R: Software for StatisticalModelling & Computing ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ R-help at 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]] ______________________________________________ R-help at 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.
View this message in context: http://www.nabble.com/3-axis-Barplots-%28plus-qplot-like-staked-histogram-capability%29-tp21696521p21702931.html Sent from the R help mailing list archive at Nabble.com.