[R] RES: Barplot with "Independent" Lines Y axis
Rodrigo Aluizio
r.aluizio at gmail.com
Sat Dec 11 13:36:32 CET 2010
Well, at least I could help (even if unintentionally), as a
compensation for all the help I got from the list.
Cheers.
Em sexta-feira, 10 de dezembro de 2010, Jim Lemon<jim em bitwrit.com.au> escreveu:
> On 12/10/2010 08:48 PM, Rodrigo Aluizio wrote:
>
> OK that's it. Working nicely. I sent the final graph with the note of the
> twoord.plot help attached to it. And some "personal" comments
>
>
> Hi Rodrigo,
> Although I came rather late to this, I might as well show how I did it:
>
> # first I corrected the commas as Peter pointed out
> library(plotrix)
> par(las=3)
> twoord.plot(ly=pluv_sal$Rain,lx=pluv_sal$Salt,mar=c(6,4,4,2),
> xlab="",ylab="Rainfall (mm)",rylab="Salinity",type=c("bar","b"),
> main="Rainfall and salinity",lcol=NA,rcol=2,
> xticklab=pluv_sal$Point,xaxt="n")
> par(las=0)
> mtext("Month",side=1,at=7,line=3)
>
> You did find a bug in the twoord.plot function, and the next version of plotrix will contain one more bug fix, with thanks to you.
>
> Jim
>
>
More information about the R-help
mailing list