Re: [R] Lines in dotchart dotplot ?
Thanks again. Both layouts look very usefull and certainly a lot better than I was getting on my own. --- Deepayan Sarkar [EMAIL PROTECTED] wrote: On 6/11/07, John Kane [EMAIL PROTECTED] wrote: --- [EMAIL PROTECTED] wrote: On 6/9/07, John Kane [EMAIL PROTECTED] wrote: Is it possible to use dotchart or dotplot and set the lines in such a way that they only extend from the left y-axis to the data point? Yes (sort of) in dotplot at least. E.g., dotplot(VADeaths, groups = FALSE, type = c(p, h)) dotplot(VADeaths, groups = FALSE, type = c(p, h), origin = 0) -Deepayan Ah, that is quite nice, not exactly what I remember from Cleveland but it should do quite nicely. You can do that too if you really want to: dotplot(VADeaths, groups = FALSE, type = c(p, h), origin = 0, panel = panel.xyplot, pch = 16, lty = 3, col = black) -Deepayan __ R-help@stat.math.ethz.ch 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.
Re: [R] Lines in dotchart dotplot ?
--- [EMAIL PROTECTED] wrote: On 6/9/07, John Kane [EMAIL PROTECTED] wrote: Is it possible to use dotchart or dotplot and set the lines in such a way that they only extend from the left y-axis to the data point? Yes (sort of) in dotplot at least. E.g., dotplot(VADeaths, groups = FALSE, type = c(p, h)) dotplot(VADeaths, groups = FALSE, type = c(p, h), origin = 0) -Deepayan Ah, that is quite nice, not exactly what I remember from Cleveland but it should do quite nicely. Thank you very much I seem to remember that Wm Cleveland did this in his 1985 book The elements of graphing data. In cases where one has a true starting or O point on the x-scale this layout seems to be very effective in displaying some data. I know that I can do it by simple ploting lines and points but a more polished function than I am likely to produce would be nice. Thanks __ R-help@stat.math.ethz.ch 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.
Re: [R] Lines in dotchart dotplot ?
On 6/11/07, John Kane [EMAIL PROTECTED] wrote: --- [EMAIL PROTECTED] wrote: On 6/9/07, John Kane [EMAIL PROTECTED] wrote: Is it possible to use dotchart or dotplot and set the lines in such a way that they only extend from the left y-axis to the data point? Yes (sort of) in dotplot at least. E.g., dotplot(VADeaths, groups = FALSE, type = c(p, h)) dotplot(VADeaths, groups = FALSE, type = c(p, h), origin = 0) -Deepayan Ah, that is quite nice, not exactly what I remember from Cleveland but it should do quite nicely. You can do that too if you really want to: dotplot(VADeaths, groups = FALSE, type = c(p, h), origin = 0, panel = panel.xyplot, pch = 16, lty = 3, col = black) -Deepayan __ R-help@stat.math.ethz.ch 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.
[R] Lines in dotchart dotplot ?
Is it possible to use dotchart or dotplot and set the lines in such a way that they only extend from the left y-axis to the data point? I seem to remember that Wm Cleveland did this in his 1985 book The elements of graphing data. In cases where one has a true starting or O point on the x-scale this layout seems to be very effective in displaying some data. I know that I can do it by simple ploting lines and points but a more polished function than I am likely to produce would be nice. Thanks __ R-help@stat.math.ethz.ch 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.
Re: [R] Lines in dotchart dotplot ?
On 6/9/07, John Kane [EMAIL PROTECTED] wrote: Is it possible to use dotchart or dotplot and set the lines in such a way that they only extend from the left y-axis to the data point? Yes (sort of) in dotplot at least. E.g., dotplot(VADeaths, groups = FALSE, type = c(p, h)) dotplot(VADeaths, groups = FALSE, type = c(p, h), origin = 0) -Deepayan I seem to remember that Wm Cleveland did this in his 1985 book The elements of graphing data. In cases where one has a true starting or O point on the x-scale this layout seems to be very effective in displaying some data. I know that I can do it by simple ploting lines and points but a more polished function than I am likely to produce would be nice. Thanks __ R-help@stat.math.ethz.ch 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. __ R-help@stat.math.ethz.ch 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.