Quantcast

Shapes in barplots

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Shapes in barplots

khush ........
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]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Shapes in barplots

Greg Snow-2
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
[hidden email]
801.408.8111


> -----Original Message-----
> From: [hidden email] [mailto:r-help-bounces@r-
> project.org] On Behalf Of khush ........
> Sent: Friday, June 04, 2010 1:45 AM
> To: [hidden email]
> 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]]
>
> ______________________________________________
> [hidden email] 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.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Shapes in barplots

khush ........
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 <[hidden email]> 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
> [hidden email]
> 801.408.8111
>
>
> > -----Original Message-----
> > From: [hidden email] [mailto:r-help-bounces@r-
> > project.org] On Behalf Of khush ........
> > Sent: Friday, June 04, 2010 1:45 AM
> > To: [hidden email]
> > 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]]
> >
> > ______________________________________________
> > [hidden email] 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]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Shapes in barplots

Greg Snow-2
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
[hidden email]
801.408.8111


> -----Original Message-----
> From: [hidden email] [mailto:r-help-bounces@r-
> project.org] On Behalf Of khush ........
> Sent: Friday, June 04, 2010 11:53 PM
> To: [hidden email]
> 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 <[hidden email]> 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
> > [hidden email]
> > 801.408.8111
> >
> >
> > > -----Original Message-----
> > > From: [hidden email] [mailto:r-help-bounces@r-
> > > project.org] On Behalf Of khush ........
> > > Sent: Friday, June 04, 2010 1:45 AM
> > > To: [hidden email]
> > > 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]]
> > >
> > > ______________________________________________
> > > [hidden email] 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]]
>
> ______________________________________________
> [hidden email] 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.

______________________________________________
[hidden email] 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.
Loading...