[R] Shapes in barplots

Greg Snow Greg.Snow at imail.org
Sun Jun 6 06:38:42 CEST 2010


My suggestion is to learn to use dotplots rather than trying to add 3d chartjunk to barplots.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of khush ........
> Sent: Friday, June 04, 2010 11:53 PM
> To: r-help at r-project.org
> Subject: Re: [R] Shapes in barplots
> 
> Dear Gregory,
> 
> Well Thanks for your suggestions. I am no more using TeachingDemos for
> the
> same. I am installing rgl for the same, but one thing I want to ask
> like I
> need to make round ended bars instead of normal one I have to look into
> rgl
> for the same, but is there any option which you think suitable for me
> in
> barplots. Whats your suggestions.
> 
> Thank you
> Jeet
> 
> On Fri, Jun 4, 2010 at 11:09 PM, Greg Snow <Greg.Snow at imail.org> wrote:
> 
> > The TeachingDemos package does not in any way replace the rgl
> package.
> >  They serve very different purposes (the TeachingDemos package does
> use rgl
> > for a couple of functions).
> >
> > I would be very surprised if there was anything in the TeachingDemos
> > package that would be of help in creating barplots with 3d effects.
> 3d
> > effects distort the information in graphs without adding anything to
> their
> > interpretation.
> >
> > If you want to display information, then use the appropriate graph
> without
> > the extra chartjunk.  If you want something to catch the reader's
> attention,
> > use a picture of a kitten.
> >
> > --
> > Gregory (Greg) L. Snow Ph.D.
> > Statistical Data Center
> > Intermountain Healthcare
> > greg.snow at imail.org
> > 801.408.8111
> >
> >
> > > -----Original Message-----
> > > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> > > project.org] On Behalf Of khush ........
> > > Sent: Friday, June 04, 2010 1:45 AM
> > > To: r-help at r-project.org
> > > Subject: [R] Shapes in barplots
> > >
> > > Hi,
> > >
> > > I am making barplots . I am using the default shape of barplots
> with a
> > > pipe
> > > but I wants to build bars in various 3d shapes. I have install rgl
> > > using
> > > install.packages('rgl') for this purpose, but when I am doing
> > > library(rgl),
> > > it shows
> > >
> > > Error in library(rgl) : there is no package called 'rgl'
> > >
> > > What are the other ways to build such plots of variuos shapes.
> > >
> > > Is that *TeachingDemos *replace it..I am not sure how to use it for
> > > such
> > > task.
> > >
> > > Thanks in advance
> > > Jeet
> > >
> > >       [[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.



More information about the R-help mailing list