Re: [R] Labels on a pyramide

2010-02-14 Thread Jim Lemon
On 02/14/2010 01:27 AM, Orvalho Augusto wrote: I am using pyramid.plot() from the plotrix package. ... The problem is (1) I do not want plot agelabels on the center and (2) I want plot different labels for each pair of the bars (one label for masculine and the other feminine). The data

Re: [R] Labels on a pyramide

2010-02-14 Thread Orvalho Augusto
Jim thanks for your great! I will try to use your source code. Caveman Ps: Reconheco a minha trogolodice e por isso pedi ajuda. Lamento perturbar a todos por isso. On Sun, Feb 14, 2010 at 1:05 PM, Jim Lemon j...@bitwrit.com.au wrote: On 02/14/2010 01:27 AM, Orvalho Augusto wrote: I am using

Re: [R] Labels on a pyramide

2010-02-14 Thread Orvalho Augusto
Pardon my ignorance here. The Jim code works. But the problem the text comes over the plot. Adjusting the laxlab and raxlab, to get more plot are, the text keeps being cut. And one more thing that might be added as a new functionality is an option to show the value of the bar. Thanks for your

[R] Labels on a pyramide

2010-02-13 Thread Orvalho Augusto
I am using pyramid.plot() from the plotrix package. I have something like this xy.pop-dados$masfr xx.pop-dados$femfr #agelabels-dados$femlab xycol-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11)

Re: [R] Labels on a pyramide

2010-02-13 Thread David Winsemius
I took a shot at getting assymetric lableling but it's by no means perfect. You really, really ,really, should learn to offer data with dput. See below: On Feb 13, 2010, at 9:27 AM, Orvalho Augusto wrote: I am using pyramid.plot() from the plotrix package. I have something like this

Re: [R] Labels on a pyramide

2010-02-13 Thread Orvalho Augusto
This is good! Yes I must learn about dput. Thank you Caveman On Sat, Feb 13, 2010 at 6:57 PM, David Winsemius dwinsem...@comcast.net wrote: I took a shot at getting assymetric lableling but it's by no means perfect. You really, really ,really, should learn to offer data with dput. See