Re: [R] dotplot

2015-05-16 Thread Duncan Mackay
d Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Daniel Nordlund Sent: Sunday, 17 May 2015 06:45 To: r-help@r-project.org Cc: sa...@listserv.uga.edu Subject: Re: [

Re: [R] dotplot

2015-05-16 Thread Daniel Nordlund
On 5/16/2015 1:19 PM, Daniel Nordlund wrote: On 5/16/2015 12:32 PM, li li wrote: Hi all, I wrote the following code and have two questions: (1) As you can see, I would like different colors for different types. It does not come out that way in the graph from this code. Anyone know how to f

Re: [R] dotplot

2015-05-16 Thread Daniel Nordlund
On 5/16/2015 12:32 PM, li li wrote: Hi all, I wrote the following code and have two questions: (1) As you can see, I would like different colors for different types. It does not come out that way in the graph from this code. Anyone know how to fix this? (2) How do I made the lots number

[R] dotplot

2015-05-16 Thread li li
Hi all, I wrote the following code and have two questions: (1) As you can see, I would like different colors for different types. It does not come out that way in the graph from this code. Anyone know how to fix this? (2) How do I made the lots number on x axis eligible to read? (3) How d

Re: [R] dotplot legend

2014-12-17 Thread Duncan Mackay
rthnet.com.au -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of r...@openmailbox.org Sent: Wednesday, 17 December 2014 22:25 To: r-help@r-project.org Subject: [R] dotplot legend Subscribers, For this example: library(lattice) testmatrix<-matrix(c(1,2,3

Re: [R] dotplot legend

2014-12-17 Thread Michael Dewey
On 17/12/2014 12:24, r...@openmailbox.org wrote: Subscribers, For this example: library(lattice) testmatrix<-matrix(c(1,2,3,4,3,6,12,24),nrow=4,ncol=2) testylabels<-c('w1','x1','y1','z1') dotplot(testmatrix, scales=list(y=list(labels=testylabels), xlab=NULL)) legend('bottomright', 'legend', c

[R] dotplot legend

2014-12-17 Thread rl
Subscribers, For this example: library(lattice) testmatrix<-matrix(c(1,2,3,4,3,6,12,24),nrow=4,ncol=2) testylabels<-c('w1','x1','y1','z1') dotplot(testmatrix, scales=list(y=list(labels=testylabels), xlab=NULL)) legend('bottomright', 'legend', col=c('blue', 'pink')) Error in strwidth(legend, unit

Re: [R] dotplot axes labelling

2014-12-15 Thread David L Carlson
Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of r...@openmailbox.org Sent: Monday, December 15, 2014 10:03 AM To: r-help@r-project.org Subject: [R] dotplot axes labelling Subscribers, Wha

[R] dotplot axes labelling

2014-12-15 Thread rl
Subscribers, What is my mistake with the following example: library(lattice) testmatrix<-matrix(c(1,2,3,4,3,6,12,24),nrow=4,ncol=2) testylabels<-c('w1','x1','y1','z1') dotplot(testmatrix, scales=list(y=list(testylabels)), xlab=NULL) #testylabels not shown, instead 'D' 'C' 'B' 'A' Thanks in adva

Re: [R] dotplot with library lattice

2014-10-30 Thread Franklin Mairura
. Thanks a lot. Best regards. Mat -Urspr�ngliche Nachricht- Von: Jim Lemon [mailto:j...@bitwrit.com.au] Gesendet: Montag, 27. Oktober 2014 09:47 An: Matthias Weber Cc: r-help@r-project.org Betreff: Re: AW: [R] dotplot with library lattice On Mon, 27 Oct 2014 08:53:51 AM Matthias Weber wrote

Re: [R] dotplot with library lattice

2014-10-30 Thread Matthias Weber
a lot. Best regards. Mat -Ursprüngliche Nachricht- Von: Jim Lemon [mailto:j...@bitwrit.com.au] Gesendet: Montag, 27. Oktober 2014 09:47 An: Matthias Weber Cc: r-help@r-project.org Betreff: Re: AW: [R] dotplot with library lattice On Mon, 27 Oct 2014 08:53:51 AM Matthias Weber wrote

Re: [R] dotplot with library lattice

2014-10-30 Thread Jim Lemon
On Thu, 30 Oct 2014 09:25:53 AM Matthias Weber wrote: > Hi Jim, > > the graph looks at the moment nearly perfect. I have one last question. > How can I change the scaling of the x-axis. At the moment i see the values > at 0,20,40,60,80,100. > > My wish is, that the x-axis looks like the abline,

Re: [R] dotplot with library lattice

2014-10-27 Thread Matthias Weber
- Von: Jim Lemon [mailto:j...@bitwrit.com.au] Gesendet: Samstag, 25. Oktober 2014 03:27 An: Matthias Weber Cc: r-help@r-project.org Betreff: Re: AW: [R] dotplot with library lattice On Fri, 24 Oct 2014 12:49:39 PM Matthias Weber wrote: > > I want always to see the "Process" of the

Re: [R] dotplot with library lattice

2014-10-27 Thread Jim Lemon
On Mon, 27 Oct 2014 08:53:51 AM Matthias Weber wrote: > Hi Jim, > > looks perfect to me. Thank you very much. One last question. Is there any > possibility to add 3 horizontal lines in the graph. One at 25%, the other > one at 50% and the last one at 75%? So I can see the process a bit better? >

Re: [R] dotplot with library lattice

2014-10-24 Thread Richard M. Heiberger
## My interpretation is that KOST is a categorical budget code id, and ## not an amount of currency. This is based on both you and Jim using ## even spacing for the rows of the dotplot. Your first line of the ## email said barplot, so my example uses likert in the HH package ## which is built on

Re: [R] dotplot with library lattice

2014-10-24 Thread Jim Lemon
On Fri, 24 Oct 2014 12:49:39 PM Matthias Weber wrote: > > I want always to see the "Process" of the green button in dependence > of the blue button at 100%. Okay. mwdat<-read.table(text= "KOST BudgetIST 1060 -2.18 0 1080 91037.71

Re: [R] dotplot with library lattice

2014-10-24 Thread Matthias Weber
Jim Lemon [mailto:j...@bitwrit.com.au] Gesendet: Freitag, 24. Oktober 2014 11:29 An: r-help@r-project.org Cc: Matthias Weber Betreff: Re: [R] dotplot with library lattice On Thu, 23 Oct 2014 05:57:27 PM Matthias Weber wrote: > Hello together, > > i have a short question. Maybe anyone can help m

Re: [R] dotplot with library lattice

2014-10-24 Thread Jim Lemon
On Thu, 23 Oct 2014 05:57:27 PM Matthias Weber wrote: > Hello together, > > i have a short question. Maybe anyone can help me to create a barplot in R > with the package lattice. > > I have the following data as ouput values and the following code: > > Data (d): > > KOST Budge

[R] dotplot with library lattice

2014-10-23 Thread Matthias Weber
Hello together, i have a short question. Maybe anyone can help me to create a barplot in R with the package lattice. I have the following data as ouput values and the following code: Data (d): KOST BudgetIST 1060 -2.18 0 1080 9

Re: [R] dotplot in ".R" with lattice & latticeExtra: proper visualization

2012-10-11 Thread David Winsemius
On Oct 11, 2012, at 6:48 AM, Andres LaCortadora wrote: > Dear everyone, > > I'm trying to do a dotplot with the libraries "lattice" and "latticeExtra". > However, no proper representation of the values on the vertical y-axis is > done by ".R". Instead of choosing the actual values of the numeric

[R] dotplot in ".R" with lattice & latticeExtra: proper visualization

2012-10-11 Thread Andres LaCortadora
Dear everyone, I'm trying to do a dotplot with the libraries "lattice" and "latticeExtra". However, no proper representation of the values on the vertical y-axis is done by ".R". Instead of choosing the actual values of the numeric variable, ".R" plots the rank of the value. That is, there are val

Re: [R] Dotplot: how to change size in the y lab ?

2012-03-19 Thread ilai
On Mon, Mar 19, 2012 at 7:56 AM, Jose Bustos Melo wrote: > Hi everyone, > > I'm trying to reduce the font size in the Y  exe in this plot: > dotplot( bank ~ MV2007 + MV2009 , data = d, horiz = T,  par.settings = list(  superpose.symbol = list(  pch = 21,  fill = c( "lightblue", "lightgreen"),  ce

[R] Dotplot: how to change size in the y lab ?

2012-03-19 Thread Jose Bustos Melo
Hi everyone, I'm trying to reduce the font size in the Y  exe in this plot: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=150 Anyone knows how to do it? I have checked the argument lab.cex and cex, but any of these works! if you want to check us this code: ### read the data d

Re: [R] Dotplot edition

2012-02-28 Thread Patrick Connolly
There seems to be a clash of character sets so I can't see just what you're trying to do, but I think you'll find out how to adjust the text size with a scales list. Check out how it's used in the help for xyplot. HTH On Tue, 28-Feb-2012 at 06:05PM +, Jose Bustos Melo wrote: |> Hi everyone

[R] Dotplot edition

2012-02-28 Thread Jose Bustos Melo
Hi everyone, Im very new with R and I would like to change the size text (names) in the ylab in a dotplot. I have checked many webpages and R sites,  but I have not found any help. This is the same structure of the plot in R graph Gallery: http://addictedtor.free.fr/graphiques/RGraphGallery.php?

Re: [R] dotPlot with diagonal

2011-10-26 Thread 1Rnwb
is this what you are looking for library(lattice) (Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3, 4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6)) plot(Seq[1,], Seq[2,], main = "Sequenz 1 und Sequenz 2", asp = 1) abline(a=0,b=1,col='red',lwd=2) -- View this message in context: http://r.789

Re: [R] dotPlot with diagonal

2011-10-26 Thread David L Carlson
&M University College Station, TX 77843-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jörg Reuter Sent: Wednesday, October 26, 2011 8:13 AM To: Dennis Murphy Cc: r-help@r-project.org Subject: Re: [R] dotPlot with diagonal

Re: [R] dotPlot with diagonal

2011-10-26 Thread Jörg Reuter
Oh, sorry. library(lattice) (Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3, 4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6)) dotPlot(Seq[1,], Seq[2,], main = "Sequenz 1 und Sequenz 2", asp = 1) Is there a way to draw a small diagonal, begin at (0/0) to (6/6) (perhaps in red??) or must I use gi

Re: [R] dotPlot with diagonal

2011-10-26 Thread Dennis Murphy
Let's see: there is a dotPlot() function in each of the following packages: BHH2, caret, mosaic, qualityTools Would you be kind enough to share which of these packages (if any) you are using? Dennis On Wed, Oct 26, 2011 at 4:25 AM, Jörg Reuter wrote: > Hi, > I want draw a dotPlot. All works fine

[R] dotPlot with diagonal

2011-10-26 Thread Jörg Reuter
Hi, I want draw a dotPlot. All works fine: (Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3, 4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6)) dotPlot(Seq[1,], Seq[2,], main = "Sequenz 1 und Sequenz 2", asp = 1) Is there a way to draw a small diagonal, begin at (0/0) to (6/6) (perhaps in red??) or

Re: [R] Dotplot (package Hmisc) with groups: colours and symbols

2011-05-11 Thread Hugo Mildenberger
Hello Esther, you left out the ellipsis argument (...) to the panel function. That argument serves a placeholder for the rest of the parameters you did not want to name and pass explicitely. If you don't pass the ellipsis to panel.Dotplot, all unnamed parameters will get default values. You can

Re: [R] Dotplot (package Hmisc) with groups: colours and symbols

2011-05-11 Thread Peter Ehlers
On 2011-05-11 02:11, E Hofstadler wrote: Hello all, This question concerns the function Dotplot from the Hmisc package. My aim is to compare values between groups in each panel of the Dotplot, with the values of different groups clearly distinguishable by different symbols. All lines and symbol

[R] Dotplot (package Hmisc) with groups: colours and symbols

2011-05-11 Thread E Hofstadler
Hello all, This question concerns the function Dotplot from the Hmisc package. My aim is to compare values between groups in each panel of the Dotplot, with the values of different groups clearly distinguishable by different symbols. All lines and symbols should be coloured in black. Before addi

Re: [R] dotplot as a background for multiple barchart plots (with Lattice)

2011-04-07 Thread Deepayan Sarkar
On Thu, Apr 7, 2011 at 7:16 PM, Christian Charles wrote: > Hi R users, > > I'm kind stuck in my R experience... > I want to have a multiple barchart with n windows, but with the same > background for each window, and I want that background to be a recorded > dotplot. > First, is it possible ? > If

[R] dotplot as a background for multiple barchart plots (with Lattice)

2011-04-07 Thread Christian Charles
Hi R users, I'm kind stuck in my R experience... I want to have a multiple barchart with n windows, but with the same background for each window, and I want that background to be a recorded dotplot. First, is it possible ? If so, I guess I have to call a record plot in the panel function but h

Re: [R] dotplot line types and strip question

2011-01-18 Thread Dennis Murphy
Hi: On Mon, Jan 17, 2011 at 10:10 PM, Byerly, Mike M (DFG) < mike.bye...@alaska.gov> wrote: > Hello, > > I have one question regarding dotplots and one question about the strip > function in lattice. In the following function I wish to use two > different line types in a dotplot. Specifying lty

[R] dotplot line types and strip question

2011-01-18 Thread Byerly, Mike M (DFG)
Hello, I have one question regarding dotplots and one question about the strip function in lattice. In the following function I wish to use two different line types in a dotplot. Specifying lty =c(1,2) does not work. No matter what line type is specified, solid lines are produced. The other gra

Re: [R] dotplot

2010-03-22 Thread David Winsemius
You thought you were attaching the data, but have you actually read the relevant sections in the Posting Guide? -- David Winsemius, MD On Mar 22, 2010, at 3:49 PM, Veerappa Chetty wrote: Hi, I am trying to make a dot plot in increasing order of the values. It does not work. How do I do it?

[R] dotplot

2010-03-22 Thread Veerappa Chetty
Hi, I am trying to make a dot plot in increasing order of the values. It does not work. How do I do it? Here are the codes I used. I am also attaching the data. I use lattice library. Thanks. Chetty -- y<-state.resid$Hospital.Name[state.resid$State=="MA

Re: [R] dotplot: labeling coordinates for each point

2009-05-08 Thread Qifei Zhu
Thank you Deepayan! It works perfectly. Best, Tony -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Deepayan Sarkar Sent: Thursday, May 07, 2009 12:20 PM To: Qifei Zhu Cc: r-help@r-project.org Subject: Re: [R] dotplot: labeling

Re: [R] dotplot: labeling coordinates for each point

2009-05-07 Thread Deepayan Sarkar
o:r-help-boun...@r-project.org] On > Behalf Of Deepayan Sarkar > Sent: Thursday, May 07, 2009 1:44 AM > To: Qifei Zhu > Cc: r-help@r-project.org > Subject: Re: [R] dotplot: labeling coordinates for each point > > > > On Wed, May 6, 2009 at 6:54 PM, Qifei Zhu wrote: > >&

Re: [R] dotplot: labeling coordinates for each point

2009-05-06 Thread Deepayan Sarkar
;Revenue",main="test", xlim = ifelse(y > 90, sprintf("(%s,%g)", x, y), ""), scales=list(rot=60)) -Deepayan > > Best, > Tony > > -Original Message- > From: Deepayan Sarkar [mailto:deepayan.sar...@gmail.com] > Sent:

Re: [R] dotplot: labeling coordinates for each point

2009-05-06 Thread Qifei Zhu
s say 90 in this case. The labels should be in (x,y) format, which is (Atlanta, 100) in this case. Appreciate a lot for your help! Best, Tony -Original Message- From: Deepayan Sarkar [mailto:deepayan.sar...@gmail.com] Sent: Wednesday, May 06, 2009 8:40 PM To: Qifei Zhu Cc: David Winsemiu

Re: [R] dotplot: labeling coordinates for each point

2009-05-06 Thread Deepayan Sarkar
On Tue, May 5, 2009 at 7:04 PM, Qifei Zhu wrote: > Hi Deepayan, > > Thanks for the hint. I spent some time on the research but haven't got any > luck in writing the custom panel function for the conditional labeling of > points in a graph. Could you please provide some more thoughts and probably

Re: [R] dotplot: labeling coordinates for each point

2009-05-05 Thread Qifei Zhu
Best, Tony -Original Message- From: Deepayan Sarkar [mailto:deepayan.sar...@gmail.com] Sent: Sunday, April 26, 2009 2:32 PM To: Qifei Zhu Cc: David Winsemius; r-help@r-project.org Subject: Re: [R] dotplot: labeling coordinates for each point On 4/26/09, Qifei Zhu wrote: >

Re: [R] dotplot: labeling coordinates for each point

2009-04-26 Thread Deepayan Sarkar
On 4/26/09, Qifei Zhu wrote: > Hi David, > > Thanks! It looks much better now. but is there any way to add (x,y) > coordinates as labels to all the points in the graph? Best case if I can > enforce some conditions saying if (y>10,000) label, else no label. Any > advice is appreciated. Sure, w

Re: [R] dotplot: labeling coordinates for each point

2009-04-26 Thread Qifei Zhu
vid Winsemius [mailto:dwinsem...@comcast.net] Sent: Friday, April 24, 2009 10:48 PM To: Qifei Zhu Cc: r-help@r-project.org Subject: Re: [R] dotplot: labeling coordinates for each point On Apr 24, 2009, at 9:23 PM, Qifei Zhu wrote: > I used dotplot to draw a graph for a dataset with size of 100.

Re: [R] dotplot: labeling coordinates for each point

2009-04-24 Thread David Winsemius
On Apr 24, 2009, at 9:23 PM, Qifei Zhu wrote: I used dotplot to draw a graph for a dataset with size of 100. Since the x-axis are all texts, so they are mixed up and not readable. Is there any way to make it readable or how can I add labels to all the points with its (x,y) coordinates? Tha

[R] dotplot: labeling coordinates for each point

2009-04-24 Thread Qifei Zhu
Hi all, I used dotplot to draw a graph for a dataset with size of 100. Since the x-axis are all texts, so they are mixed up and not readable. Is there any way to make it readable or how can I add labels to all the points with its (x,y) coordinates? Thanks for your help. Best, Tony

Re: [R] dotplot

2009-03-04 Thread Usuario R
Hi, I think you need to set the parameter pch to 19. - pch=19: solid circle, - pch=20: bullet (smaller circle), - pch=21: circle, - pch=22: square, - pch=23: diamond, - pch=24: triangle point-up, - pch=25: triangle point down. Regards 2009/3/4 Veerappa Chetty > Hi,I wou

[R] dotplot

2009-03-04 Thread Veerappa Chetty
Hi,I would like to fill the dots in this graph. I would appreciate help to do that if possible. If fill is not possible, can I make it bright? I do NOT want to increase the size. __ dotplot(hu.event~fitted.adj.cat,data=risk.benefit.cast,groups=treat, auto.key=list(space="right")) --

Re: [R] dotplot points color

2009-02-20 Thread glaporta
Thank you Deepayan, for this suggestion dotplot(variety ~ yield | site, data = barley, groups = year, pch=21, fill = c(1, 2)) glaporta wrote: > > Dear list, > is it possible to change the background color of dotplot's points? I tried > in many ways but unsuccessfully > Thanks in advance >

Re: [R] dotplot points color

2009-02-20 Thread Deepayan Sarkar
On 2/19/09, glaporta wrote: > > Dear list, > is it possible to change the background color of dotplot's points? I tried > in many ways but unsuccessfully > Thanks in advance > Gianandrea > > require(lattice) > dotplot(variety ~ yield | site, data = barley, groups = year, pch=21) > dotplot(variety

[R] dotplot points color

2009-02-19 Thread glaporta
Dear list, is it possible to change the background color of dotplot's points? I tried in many ways but unsuccessfully Thanks in advance Gianandrea require(lattice) dotplot(variety ~ yield | site, data = barley, groups = year, pch=21) dotplot(variety ~ yield | site, data = barley, groups = year,

Re: [R] dotplot with a log scale

2008-10-31 Thread glaporta
Perfectly... thanx Deepayan Deepayan Sarkar wrote: > > On 10/31/08, glaporta <[EMAIL PROTECTED]> wrote: >> >> Dear all, >> I would like to create a dotplot (lattice) with a log scale as the >> function >> http://www.nabble.com/dotchart-with-log-scale--td5411625.html#a5411625 >> mydotchart

Re: [R] dotplot with a log scale

2008-10-31 Thread Deepayan Sarkar
On 10/31/08, glaporta <[EMAIL PROTECTED]> wrote: > > Dear all, > I would like to create a dotplot (lattice) with a log scale as the function > http://www.nabble.com/dotchart-with-log-scale--td5411625.html#a5411625 > mydotchart of Johannes Huesing. Is it possible? The usual lattice syntax for

[R] dotplot with a log scale

2008-10-31 Thread glaporta
Dear all, I would like to create a dotplot (lattice) with a log scale as the function http://www.nabble.com/dotchart-with-log-scale--td5411625.html#a5411625 mydotchart of Johannes Huesing. Is it possible? Thanx Gianandrea -- View this message in context: http://www.nabble.com/dotplot-with-a-lo

[R] Dotplot error bar caps?

2008-03-22 Thread John Bishop
Hi I've used Dotplot from Hmisc to draw a dotplot with error bars, where each row of the dotplot has two points. Now I'd like for the error bars to have caps on the end so I can see how much they overlap, but I can't figure out how to produce them. This draws the plot I want, but doesn't add ca