french-connection at gmx.net
2011-Nov-22 11:37 UTC
[R] logarithmically scaled y-axis in vioplot
Dear all I am trying to make a graphic with the "vioplot" package. I use the following code: library(vioplot) x1 <- GSMrxDL x2 <- WIFI x3 <- UMT vioplot(x1, x2, x3, ylim=c(0, 10), names=c("GSMrxDL", "WIFI", "UMT"), col="gold") title("NIS Strahlung", xlab="Sender", ylab="V/m") Now I want to scale the y-axis logarithmically, i.e. 0.01; 0.1; 1; 10. How can I do this? Thank you very much Alex --
On 22.11.2011 12:37, french-connection at gmx.net wrote:> Dear all > > I am trying to make a graphic with the "vioplot" package. I use the following code: > > library(vioplot) > x1<- GSMrxDL > x2<- WIFI > x3<- UMT > vioplot(x1, x2, x3, ylim=c(0, 10), names=c("GSMrxDL", "WIFI", "UMT"), col="gold") > title("NIS Strahlung", xlab="Sender", ylab="V/m") > > Now I want to scale the y-axis logarithmically, i.e. 0.01; 0.1; 1; 10. How can I do this?I think you will have to tweak the underlying code. A feature request to the authors may help, a patch that adds the requested feature may help even more. Best, Uwe Ligges> Thank you very much > > Alex > > > -- > > ______________________________________________ > R-help at r-project.org 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.
On 22.11.2011 12:37, french-connection at gmx.net wrote:> Dear all > > I am trying to make a graphic with the "vioplot" package. I use the following code: > > library(vioplot) > x1<- GSMrxDL > x2<- WIFI > x3<- UMT > vioplot(x1, x2, x3, ylim=c(0, 10), names=c("GSMrxDL", "WIFI", "UMT"), col="gold") > title("NIS Strahlung", xlab="Sender", ylab="V/m") > > Now I want to scale the y-axis logarithmically, i.e. 0.01; 0.1; 1; 10. How can I do this?[resending this since my mailtool forgot to add the address of the OP] I think you will have to tweak the underlying code. A feature request to the authors may help, a patch that adds the requested feature may help even more. Best, Uwe Ligges> Thank you very much > > Alex > > > -- > > ______________________________________________ > R-help at r-project.org 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.
Alexander Ernst
2011-Nov-23 07:46 UTC
[R] Thank you! logarithmically scaled y-axis in vioplot
Dear Uwe Thank you very much for your reply. Best, Alex -------- Original-Nachricht --------> Datum: Tue, 22 Nov 2011 15:41:17 +0100 > Von: Uwe Ligges <ligges at statistik.tu-dortmund.de> > An: french-connection at gmx.net > CC: r-help at r-project.org > Betreff: Re: [R] logarithmically scaled y-axis in vioplot> > > On 22.11.2011 12:37, french-connection at gmx.net wrote: > > Dear all > > > > I am trying to make a graphic with the "vioplot" package. I use the > following code: > > > > library(vioplot) > > x1<- GSMrxDL > > x2<- WIFI > > x3<- UMT > > vioplot(x1, x2, x3, ylim=c(0, 10), names=c("GSMrxDL", "WIFI", "UMT"), > col="gold") > > title("NIS Strahlung", xlab="Sender", ylab="V/m") > > > > Now I want to scale the y-axis logarithmically, i.e. 0.01; 0.1; 1; 10. > How can I do this? > > [resending this since my mailtool forgot to add the address of the OP] > > I think you will have to tweak the underlying code. A feature request to > the authors may help, a patch that adds the requested feature may help > even more. > > Best, > Uwe Ligges > > > > Thank you very much > > > > Alex > > > > > > -- > > > > ______________________________________________ > > R-help at r-project.org 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.--