Re: [R] dotchart and dotplot(lattice) plot with two/three conditioning variables

2024-09-04 Thread Deepayan Sarkar
For lattice::dotplot(), you are close; this is more like the layout you want: dotplot(Year ~ ptile | reorder(Population, ptile, mean), testLong, groups = c("0-50", "50-90", "90-100")[time], layout = c(1, NA), par.settings = simpleTheme(pch = 16), auto.key = TRUE) dotchart(

[R] dotchart and dotplot(lattice) plot with two/three conditioning variables

2024-09-04 Thread Anupam Tyagi
Hello, I am trying to make a Cleaveland Dotplot with two, if possible three, variables on the vertical axis. I was able to do it in Stata with two variables, Year and Population (see graph at the link: https://drive.google.com/file/d/1SiIfmmqk6IFa_OI5i26Ux1ZxkN2oek-o/view?usp=sharing ). I hope the

[R] Dotchart and its arguments

2019-02-20 Thread Robert Zimbardo
Hi all I was recently trying to customise a dotchart of a matrix dats <- matrix(1:6, nrow=2, dimnames=list(R=letters[1:2], C=letters[14:16])) dotchart(dats) with pch and pt.cex and noticed some irregularities, namely that R doesn't use the values in the positions it uses for plotting also for th

[R] Dotchart per groups

2013-04-11 Thread zuzana zajkova
Hi all, I would like to ask you for help. I did a dotplot - using dotchart function. There are two localites (loc) with values 75 or 56 in my data ZZ. The f column has 4 levels: P1, S1, S8, R6. The dataframe is ordered by N value, pchloc value is assign to use "pch" in plot. > head(ZZ) loc f

Re: [R] dotchart ordering problem

2012-10-20 Thread Zenonn87
I've got another problem. What if I have another dotchart with same categories, but one of the data are missing (control A)?? So I want to leave out from the dotchart. In this case in the control category should have only one dotline, because the other one is empty. Or mark somehow that it's missi

Re: [R] dotchart ordering problem

2012-10-14 Thread Zenonn87
1000x Thanks for all of your helps! All of it workd perfectly! :) -- View this message in context: http://r.789695.n4.nabble.com/dotchart-ordering-problem-tp4646038p4646138.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-pr

Re: [R] dotchart ordering problem

2012-10-12 Thread arun
rom: Zenonn87 To: r-help@r-project.org Cc: Sent: Friday, October 12, 2012 4:38 PM Subject: [R] dotchart ordering problem I'm having an sorting problem in dotchart. I want to change the order of the BA in groups to AB, but I haven't found any solution yet. What should I do? And what if I w

Re: [R] dotchart ordering problem

2012-10-12 Thread Pieter Schoonees
2 23:39 > To: r-help@r-project.org > Subject: [R] dotchart ordering problem > > I'm having an sorting problem in dotchart. I want to change the order of the > BA in groups to AB, but I haven't found any solution yet. What should I do? > And what if I want to change the groups orde

Re: [R] dotchart ordering problem

2012-10-12 Thread Sarah Goslee
Hi, You can reorder the matrix: dotchart(a[c(2,1), 7:1], main="Dotchart", xlim=c(0,50)) Sarah On Fri, Oct 12, 2012 at 4:38 PM, Zenonn87 wrote: > I'm having an sorting problem in dotchart. I want to change the order of the > BA in groups to AB, but I haven't found any solution yet. What should

[R] dotchart ordering problem

2012-10-12 Thread Zenonn87
I'm having an sorting problem in dotchart. I want to change the order of the BA in groups to AB, but I haven't found any solution yet. What should I do? And what if I want to change the groups order as well? At the bottom from Conrol up to 10 mg/L on the top. Thank you! x = c(39, 23, 23, 35, 30, 2

Re: [R] Dotchart showing mean and median by group

2012-05-10 Thread maxbre
thank you all for the high level contributions and the very helpful feedback; I think I have now enogh material to study for months: what a good lesson learned! cheers max -- View this message in context: http://r.789695.n4.nabble.com/Dotchart-showing-mean-and-median-by-group-tp4619597p46235

Re: [R] Dotchart showing mean and median by group

2012-05-10 Thread Gabor Grothendieck
On Thu, May 10, 2012 at 2:24 AM, maxbre wrote: > hi all > > I have another question reated to the dotchart: is it possible by means of > par() to set a logaritmic scale? > If yes, how ? and if not, any alternative solution? > 1. This is getting increasingly complicated as new requirements are add

Re: [R] Dotchart showing mean and median by group

2012-05-10 Thread David Winsemius
On May 10, 2012, at 5:03 AM, David Winsemius wrote: On May 10, 2012, at 2:24 AM, maxbre wrote: hi all I have another question reated to the dotchart: is it possible by means of par() to set a logaritmic scale? If yes, how ? and if not, any alternative solution? Looking at the dotchart

Re: [R] Dotchart showing mean and median by group

2012-05-10 Thread David Winsemius
On May 10, 2012, at 2:24 AM, maxbre wrote: hi all I have another question reated to the dotchart: is it possible by means of par() to set a logaritmic scale? If yes, how ? and if not, any alternative solution? Looking at the dotchart code it appears to me that the log parameter to plot.

Re: [R] Dotchart showing mean and median by group

2012-05-10 Thread maxbre
hi all I have another question reated to the dotchart: is it possible by means of par() to set a logaritmic scale? If yes, how ? and if not, any alternative solution? thanks -- View this message in context: http://r.789695.n4.nabble.com/Dotchart-showing-mean-and-median-by-group-tp4619597p46226

Re: [R] Dotchart showing mean and median by group

2012-05-09 Thread Gabor Grothendieck
On Wed, May 9, 2012 at 5:32 PM, Tal Galili wrote: > Hello dear Gabor, > > First - thank you for this solution! > > Second - I see that the text that is added around the axes is a tiny bit > shifted - causing a slight blur of the text.  Does it happen only on > Windows?  Can it be fixed? > On my W

Re: [R] Dotchart showing mean and median by group

2012-05-09 Thread Tal Galili
Hello dear Gabor, First - thank you for this solution! Second - I see that the text that is added around the axes is a tiny bit shifted - causing a slight blur of the text. Does it happen only on Windows? Can it be fixed? Contact Details:--

Re: [R] Dotchart showing mean and median by group

2012-05-09 Thread Gabor Grothendieck
On Wed, May 9, 2012 at 3:25 AM, maxbre wrote: > Given this example > > mean.values<-colMeans(VADeaths) > > mean.values<-apply(VADeaths, 2, mean) > median.values<-apply(VADeaths, 2, median) > > dotchart(VADeaths, gdata=mean.values) > dotchart(VADeaths, gdata=median.values) > > is it possible to “co

Re: [R] Dotchart showing mean and median by group

2012-05-09 Thread Tal Galili
Hi Max, I see that "dotchart" does not have a "add" parameter. For the fun of it, I added this feature, you can see the source code of the new function here: https://raw.github.com/talgalili/R-code-snippets/master/dotchart.with.add.r With your example at the end of the file. Here is a page showing

[R] Dotchart showing mean and median by group

2012-05-09 Thread maxbre
Given this example mean.values<-colMeans(VADeaths) mean.values<-apply(VADeaths, 2, mean) median.values<-apply(VADeaths, 2, median) dotchart(VADeaths, gdata=mean.values) dotchart(VADeaths, gdata=median.values) is it possible to “combine” a single dotchart showing both the mean and the median for

Re: [R] dotchart vs. dotplot ... groups

2011-08-18 Thread Deepayan Sarkar
On Wed, Aug 17, 2011 at 11:59 PM, wrote: > I'm trying to create a dotplot with some grouping. > > I've been able to create what I want using dotchart (basic graphics), but > can't quite get it using dotplot (lattice). I prefer to use lattice (or > ggplot2) because I think it's a bit easier to c

Re: [R] dotchart vs. dotplot ... groups

2011-08-18 Thread Brian Diggs
On 8/17/2011 11:29 AM, mkzo...@comcast.net wrote: I'm trying to create a dotplot with some grouping. I've been able to create what I want using dotchart (basic graphics), but can't quite get it using dotplot (lattice). I prefer to use lattice (or ggplot2) because I think it's a bit easier to con

[R] dotchart vs. dotplot ... groups

2011-08-17 Thread mkzodet
I'm trying to create a dotplot with some grouping. I've been able to create what I want using dotchart (basic graphics), but can't quite get it using dotplot (lattice). I prefer to use lattice (or ggplot2) because I think it's a bit easier to control some other aspects of the plot appearance.

Re: [R] dotchart {graphics} 2.11.1 vs. 2.12.1

2011-02-01 Thread Joshua Wiley
On Tue, Feb 1, 2011 at 9:23 AM, Peter Ehlers wrote: > Will this suffice: > >  dotchart(c(table(infert$education))) That is probably the cleanest answer for now (I tried something like that with as.vector(), but lost the names). Another reasonable option would be: dotchart(unclass(table(infert$ed

Re: [R] dotchart {graphics} 2.11.1 vs. 2.12.1

2011-02-01 Thread Peter Ehlers
On 2011-02-01 07:09, Joshua Wiley wrote: Hi, Its a bit messy, but here is a quick work around: dotchart(as.matrix(table(infert$education))[,1]) I wonder if this has something to do with the addition of table methods for points() and lines(). I'll post back if I find anything more out. Will

Re: [R] dotchart {graphics} 2.11.1 vs. 2.12.1

2011-02-01 Thread Joshua Wiley
Hi, Its a bit messy, but here is a quick work around: dotchart(as.matrix(table(infert$education))[,1]) I wonder if this has something to do with the addition of table methods for points() and lines(). I'll post back if I find anything more out. Cheers, Josh On Tue, Feb 1, 2011 at 6:52 AM, V

[R] dotchart {graphics} 2.11.1 vs. 2.12.1

2011-02-01 Thread Van Patten, Isaac T
I have a factor vector of subject races (Asian, Black, Hispanic, White; n=30) that I want to plot with a Cleveland dotplot or dotchart. I tried the following in R2.12.1 : > dotchart(table(school$Race)) Error in plot.xy(xy.coords(x, y), type = type, ...) : invalid plot type Using the same data

Re: [R] dotchart for matrix data

2011-01-05 Thread David Winsemius
On Jan 5, 2011, at 8:11 AM, e-letter wrote: Readers, The following commands were applied, to create a dot chart with black dots and blue squares for data: library(lattice) testdot category values 1b 44 2c 51 3d 65 4a 10 5b 64 6

Re: [R] dotchart for matrix data

2011-01-05 Thread e-letter
Readers, The following commands were applied, to create a dot chart with black dots and blue squares for data: > library(lattice) > testdot category values 1b 44 2c 51 3d 65 4a 10 5b 64 6c 71 7d 49 8a

Re: [R] dotchart for matrix data

2010-12-22 Thread Dennis Murphy
Hi: Is this what you're after? dotplot(reorder(category, -values, mean) ~values, data=testdot) See ?reorder HTH, Dennis On Wed, Dec 22, 2010 at 2:59 AM, e-letter wrote: > On 20/12/2010, e-letter wrote: > > On 18/12/2010, e-letter wrote: > >> On 18/12/2010, Peter Ehlers wrote: > >>> On 201

Re: [R] dotchart for matrix data

2010-12-22 Thread e-letter
On 20/12/2010, e-letter wrote: > On 18/12/2010, e-letter wrote: >> On 18/12/2010, Peter Ehlers wrote: >>> On 2010-12-18 07:50, e-letter wrote: > Ben Bolker > Sat, 18 Dec 2010 07:07:24 -0800 >>> >>> [... snip ...] >>> I am trying to create a chart like this (http://www.b-eye-net

Re: [R] dotchart for matrix data

2010-12-20 Thread e-letter
On 18/12/2010, e-letter wrote: > On 18/12/2010, Peter Ehlers wrote: >> On 2010-12-18 07:50, e-letter wrote: Ben Bolker Sat, 18 Dec 2010 07:07:24 -0800 >> >> [... snip ...] >> >>> I am trying to create a chart like this >>> (http://www.b-eye-network.com/images/content/Fig4_3.jpg); so thi

Re: [R] dotchart for matrix data

2010-12-18 Thread Peter Ehlers
On 2010-12-18 10:27, e-letter wrote: On 18/12/2010, Peter Ehlers wrote: On 2010-12-18 07:50, e-letter wrote: Ben Bolker Sat, 18 Dec 2010 07:07:24 -0800 [... snip ...] I am trying to create a chart like this (http://www.b-eye-network.com/images/content/Fig4_3.jpg); so this is not possible u

Re: [R] dotchart for matrix data

2010-12-18 Thread David Winsemius
On Dec 18, 2010, at 1:27 PM, e-letter wrote: On 18/12/2010, Peter Ehlers wrote: On 2010-12-18 07:50, e-letter wrote: Ben Bolker Sat, 18 Dec 2010 07:07:24 -0800 [... snip ...] I am trying to create a chart like this (http://www.b-eye-network.com/images/content/Fig4_3.jpg); so this is not

Re: [R] dotchart for matrix data

2010-12-18 Thread e-letter
On 18/12/2010, Peter Ehlers wrote: > On 2010-12-18 07:50, e-letter wrote: >>> Ben Bolker >>> Sat, 18 Dec 2010 07:07:24 -0800 > > [... snip ...] > >> I am trying to create a chart like this >> (http://www.b-eye-network.com/images/content/Fig4_3.jpg); so this is >> not possible using R? > > That loo

Re: [R] dotchart for matrix data

2010-12-18 Thread David Winsemius
On Dec 18, 2010, at 11:58 AM, e-letter wrote: On 18/12/2010, Peter Ehlers wrote: On 2010-12-18 07:50, e-letter wrote: Ben Bolker Sat, 18 Dec 2010 07:07:24 -0800 [... snip ...] I am trying to create a chart like this (http://www.b-eye-network.com/images/content/Fig4_3.jpg); so this is not

Re: [R] dotchart for matrix data

2010-12-18 Thread e-letter
On 18/12/2010, Peter Ehlers wrote: > On 2010-12-18 07:50, e-letter wrote: >>> Ben Bolker >>> Sat, 18 Dec 2010 07:07:24 -0800 > > [... snip ...] > >> I am trying to create a chart like this >> (http://www.b-eye-network.com/images/content/Fig4_3.jpg); so this is >> not possible using R? > > That loo

Re: [R] dotchart for matrix data

2010-12-18 Thread Peter Ehlers
On 2010-12-18 07:50, e-letter wrote: Ben Bolker Sat, 18 Dec 2010 07:07:24 -0800 [... snip ...] I am trying to create a chart like this (http://www.b-eye-network.com/images/content/Fig4_3.jpg); so this is not possible using R? That looks an awful lot like what lattice's dotplot would produce

Re: [R] dotchart for matrix data

2010-12-18 Thread e-letter
6 50 49 308"), >header=TRUE) > >## Something like this is probably as close as you can get with >## stock 'dotchart' -- it does *not* (as far as I can tell) put >## different points on the same line, just groups lines > I am tryi

Re: [R] dotchart for matrix data

2010-12-18 Thread e-letter
On 18/12/2010, David Winsemius wrote: > > On Dec 18, 2010, at 7:01 AM, e-letter wrote: > >> Readers, >> >> I am trying to use the function dotchart. The data is: >> >>> testdot >> category values1 values2 values3 values4 >> 1a 10 27 56 709 >> 2b 4 46

Re: [R] dotchart for matrix data

2010-12-18 Thread Ben Bolker
David Winsemius comcast.net> writes: > > > On Dec 18, 2010, at 7:01 AM, e-letter wrote: > > > Readers, > > > > I am trying to use the function dotchart. The data is: > > > >> testdot > > category values1 values2 values3 values4 > > 1a 10 27 56 709 > > 2b

Re: [R] dotchart for matrix data

2010-12-18 Thread David Winsemius
On Dec 18, 2010, at 7:01 AM, e-letter wrote: Readers, I am trying to use the function dotchart. The data is: testdot category values1 values2 values3 values4 1a 10 27 56 709 2b 4 46 47 208 3c 5 17 18 109 4

[R] dotchart for matrix data

2010-12-18 Thread e-letter
Readers, I am trying to use the function dotchart. The data is: > testdot category values1 values2 values3 values4 1a 10 27 56 709 2b 4 46 47 208 3c 5 17 18 109 4d 6 50 49 308 The fol

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
Thanks Greg. I was also thinking about it after I saw my plots. Cheers../Murli -Original Message- From: Greg Snow [mailto:greg.s...@imail.org] Sent: Wednesday, September 23, 2009 3:49 PM To: Nair, Murlidharan T; Henrique Dallazuanna Cc: r-help@r-project.org Subject: RE: [R] dotchart to

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

Re: [R] dotchart

2008-06-04 Thread Nair, Murlidharan T
Subject: Re: [R] dotchart Is because your first column and the object is a data.frame: dotchart(as.matrix(intersect.data[-1])) On Wed, Jun 4, 2008 at 3:42 PM, Nair, Murlidharan T <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: I am trying to plot the following data us

Re: [R] dotchart

2008-06-04 Thread Henrique Dallazuanna
Is because your first column and the object is a data.frame: dotchart(as.matrix(intersect.data[-1])) On Wed, Jun 4, 2008 at 3:42 PM, Nair, Murlidharan T <[EMAIL PROTECTED]> wrote: > I am trying to plot the following data using dotchart > > intersect.data<-structure(list(X = structure(c(1L, 3L,

[R] dotchart

2008-06-04 Thread Nair, Murlidharan T
I am trying to plot the following data using dotchart intersect.data<-structure(list(X = structure(c(1L, 3L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 2L, 4L, 5L, 6L, 7L), .Label = c("1-100", "1001-1100", "101-200", "1101-1200", "1201-1300", "1301-1400", "1401-1500", "201-300", "301-400", "401-500", "

Re: [R] dotchart - problem with gcolor

2008-01-19 Thread John Kane
Excellent, it does exactly what I wanted.. I had never encountered "unname" before. Thanks very much. --- Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Try this: > > aa <- c(a = 1, b = 2, c = 3) > dotchart(unname(aa), col = 1:3) > axis(side = 2, seq_along(aa), names(aa)) > > > > On Jan

Re: [R] dotchart - problem with gcolor

2008-01-19 Thread Gabor Grothendieck
Try this: aa <- c(a = 1, b = 2, c = 3) dotchart(unname(aa), col = 1:3) axis(side = 2, seq_along(aa), names(aa)) On Jan 19, 2008 5:01 PM, John Kane <[EMAIL PROTECTED]> wrote: > > --- Gabor Grothendieck <[EMAIL PROTECTED]> > wrote: > > > Use col= for that. > > Well yes, but I was trying to get th

Re: [R] dotchart - problem with gcolor

2008-01-19 Thread John Kane
--- Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Use col= for that. Well yes, but I was trying to get the points on the graph coloured and the value labels uncoloured (that is black). Thanks > > On Jan 19, 2008 4:31 PM, John Kane > <[EMAIL PROTECTED]> wrote: > > Thank you Gabor. The ex

Re: [R] dotchart - problem with gcolor

2008-01-19 Thread Gabor Grothendieck
Use col= for that. On Jan 19, 2008 4:31 PM, John Kane <[EMAIL PROTECTED]> wrote: > Thank you Gabor. The examples are excellent. > > I was misreading the intend of gcolor. I had thought > that it would allow me to colour all of the value > labels . > > > --- Gabor Grothendieck <[EMAIL PROTECTED]>

Re: [R] dotchart - problem with gcolor

2008-01-19 Thread John Kane
Thank you Gabor. The examples are excellent. I was misreading the intend of gcolor. I had thought that it would allow me to colour all of the value labels . --- Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Or even one group if its named: > > dotchart(cbind(a = aa), gcolor = "red") > >

Re: [R] dotchart - problem with gcolor

2008-01-19 Thread Gabor Grothendieck
Or even one group if its named: dotchart(cbind(a = aa), gcolor = "red") On Jan 19, 2008 3:18 PM, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > You only have one group. Try it with two groups: > > dotchart(cbind(a = aa, b = aa), gcolor = "red") > > > > On Jan 19, 2008 2:48 PM, John Kane <[EMAIL

Re: [R] dotchart - problem with gcolor

2008-01-19 Thread Gabor Grothendieck
You only have one group. Try it with two groups: dotchart(cbind(a = aa, b = aa), gcolor = "red") On Jan 19, 2008 2:48 PM, John Kane <[EMAIL PROTECTED]> wrote: > It a trivial point but can anyone tell me why gcolor > is not working here? I thought that I should be > getting the letters in red.

[R] dotchart - problem with gcolor

2008-01-19 Thread John Kane
It a trivial point but can anyone tell me why gcolor is not working here? I thought that I should be getting the letters in red. lcolor seems to work just fine. aa <- c(3,6,3,5,8) lbs <- LETTERS[1:5] dotchart(rev(aa), pch=16, labels=(rev(lbs)), lcolor="blue", gcolor="red") Looking for