[R] logarithmically scaled y-axis in vioplot

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Nov 22 15:39:25 CET 2011



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.



More information about the R-help mailing list