You can check these packages, ?scatterplot3d ?scatter3d Best Marwan ------------------------------------------------------------------- Marwan Khawaja http://staff.aub.edu.lb/~mk36/ -------------------------------------------------------------------> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of R user > Sent: Monday, January 17, 2005 12:37 PM > To: r-help at stat.math.ethz.ch > Subject: [R] 3d bar plot > > This graph -> > http://www.math.hope.edu/~tanis/dallas/images/disth36.gif > is an example I found at > http://www.math.hope.edu/~tanis/dallas/disth1.html > created by Maple. > > Does anybody know how to create something similar in R? > > I have a feeling it could be possible using scatterplot3d > (perhaps with type=h, the fourth example in > help('scatterplot3d')?), but I cannot figure it out. > > Thanks in advance, > Jonne. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >
This graph -> http://www.math.hope.edu/~tanis/dallas/images/disth36.gif is an example I found at http://www.math.hope.edu/~tanis/dallas/disth1.html created by Maple. Does anybody know how to create something similar in R? I have a feeling it could be possible using scatterplot3d (perhaps with type=h, the fourth example in help('scatterplot3d')?), but I cannot figure it out. Thanks in advance, Jonne.
> This graph -> > http://www.math.hope.edu/~tanis/dallas/images/disth36.gif > is an example I found at > http://www.math.hope.edu/~tanis/dallas/disth1.html > created by Maple. > > Does anybody know how to create something similar in R? > > I have a feeling it could be possible using scatterplot3d > (perhaps with type=h, the fourth example in help('scatterplot3d')?), > but I cannot figure it out.Sorry to butt in with a more fundamental question. Is this really the kind of graph we want to cultivate and support? In my oppinion, it is hardly ever necessary to have a graph in 3D or even in higher dimensions (one certain exception is if one tries to spin a higly dimensional dataset in search of patterns as you can do in ggobi and there might certainly be others). At least the graph presented in the example does - in my eyes - not warrant a 3D plot. Why not just draw curves for each of the n's in a plot of 'A' against 'row'? This would enable a reader to make straightforward comparisons of the curves and allow to estimate the height of the 'columns' along the 'A'-axis much more easily. Only because we can easily create 3D graphs, I do not believe that we should use them often. Only if a careful evaluation of alternatives was not promising success I would resign myself to using 3D graphs. Lorenz - Lorenz Gygax, Dr. sc. nat. Centre for proper housing of ruminants and pigs Swiss Federal Veterinary Office agroscope FAT T?nikon, CH-8356 Ettenhausen / Switzerland