Re: [R] dotchart to barplots

2009-09-24 Thread Nair, Murlidharan T
___ From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of Nair, Murlidharan T [mn...@iusb.edu] Sent: Wednesday, September 23, 2009 5:11 PM To: Greg Snow; Henrique Dallazuanna Cc: r-help@r-project.org Subject: Re: [R] dotchart to barplots

Re: [R] dotchart to barplots

2009-09-23 Thread Nair, Murlidharan T
ct.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Nair, Murlidharan T > Sent: Wednesday, September 23, 2009 1:21 PM > To: Henrique Dallazuanna > Cc: r-help@r-project.org > Subject: Re: [R] dotchart to barplots > > I had tried names.arg=c(intersect.data[,1]) so that w

Re: [R] dotchart to barplots

2009-09-23 Thread Peter Ehlers
ssage- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Wednesday, September 23, 2009 3:56 PM To: Nair, Murlidharan T Cc: r-help@r-project.org Subject: Re: [R] dotchart to barplots Murli, Two points: 1. I think you might want las=1; 2. have a look at the density= argument, i.e. add densit

Re: [R] dotchart to barplots

2009-09-23 Thread Nair, Murlidharan T
Guess, I miss the argument when I ?barplot. Cheers../Murli -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Wednesday, September 23, 2009 3:56 PM To: Nair, Murlidharan T Cc: r-help@r-project.org Subject: Re: [R] dotchart to barplots Murli, Two points: 1. I

Re: [R] dotchart to barplots

2009-09-23 Thread Nair, Murlidharan T
Thanks Peter. Where did you find that option? It's really cool Cheers../Murli -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Wednesday, September 23, 2009 3:56 PM To: Nair, Murlidharan T Cc: r-help@r-project.org Subject: Re: [R] dotchart to barplots

Re: [R] dotchart to barplots

2009-09-23 Thread Peter Ehlers
-project.org Subject: Re: [R] dotchart to barplots Sorry, byt what you mean by 'designs'? You can add a legend with: barplot(t(as.matrix(intersect.data[,2:5])), beside = T, horiz = T, legend.text = names(intersect.data)[-1], names.arg = intersect.data[,1], cex.axis = 0.7

Re: [R] dotchart to barplots

2009-09-23 Thread Greg Snow
g [mailto:r-help-boun...@r- > project.org] On Behalf Of Nair, Murlidharan T > Sent: Wednesday, September 23, 2009 1:21 PM > To: Henrique Dallazuanna > Cc: r-help@r-project.org > Subject: Re: [R] dotchart to barplots > > I had tried names.arg=c(intersect.data[,1]) so that was the p

Re: [R] dotchart to barplots

2009-09-23 Thread Nair, Murlidharan T
The journal wants black and white only :) -Original Message- From: Henrique Dallazuanna [mailto:www...@gmail.com] Sent: Wednesday, September 23, 2009 3:41 PM To: Nair, Murlidharan T Cc: r-help@r-project.org Subject: Re: [R] dotchart to barplots Perhaps a white border: barplot(t

Re: [R] dotchart to barplots

2009-09-23 Thread Henrique Dallazuanna
Message- > From: Henrique Dallazuanna [mailto:www...@gmail.com] > Sent: Wednesday, September 23, 2009 3:32 PM > To: Nair, Murlidharan T > Cc: r-help@r-project.org > Subject: Re: [R] dotchart to barplots > > Sorry, byt what you mean by 'designs'? &g

Re: [R] dotchart to barplots

2009-09-23 Thread Nair, Murlidharan T
, Murlidharan T Cc: r-help@r-project.org Subject: Re: [R] dotchart to barplots Sorry, byt what you mean by 'designs'? You can add a legend with: barplot(t(as.matrix(intersect.data[,2:5])), beside = T, horiz = T, legend.text = names(intersect.data)[-1], names.arg = interse

Re: [R] dotchart to barplots

2009-09-23 Thread Henrique Dallazuanna
Still working on the other though. > Cheers../Murli > > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Nair, Murlidharan T > Sent: Wednesday, September 23, 2009 3:21 PM > To: Henrique Dallazuanna > Cc: r-hel

Re: [R] dotchart to barplots

2009-09-23 Thread Nair, Murlidharan T
- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Nair, Murlidharan T Sent: Wednesday, September 23, 2009 3:21 PM To: Henrique Dallazuanna Cc: r-help@r-project.org Subject: Re: [R] dotchart to barplots I had tried names.arg=c(intersect.data[,1]) so that was the

Re: [R] dotchart to barplots

2009-09-23 Thread Nair, Murlidharan T
: Henrique Dallazuanna [mailto:www...@gmail.com] Sent: Wednesday, September 23, 2009 3:09 PM To: Nair, Murlidharan T Cc: r-help@r-project.org Subject: Re: [R] dotchart to barplots Try this: barplot(t(as.matrix(intersect.data[,2:5])), beside = T, horiz = T, names.arg

Re: [R] dotchart to barplots

2009-09-23 Thread Henrique Dallazuanna
Try this: barplot(t(as.matrix(intersect.data[,2:5])), beside = T, horiz = T, names.arg = intersect.data[,1], cex.axis = 0.7, cex.names = 0.7) On Wed, Sep 23, 2009 at 4:01 PM, Nair, Murlidharan T wrote: > Hi, > > I am trying to plot the following data so that it can be visuall

[R] dotchart to barplots

2009-09-23 Thread Nair, Murlidharan T
Hi, I am trying to plot the following data so that it can be visually represented well. I tried the dotchart but I felt it was too spread out. Then I tried the barplot which is good enough for me. Is there a way to give the labels for the y-axis as in the dot chart? Also, I feel the grey level