[R] plot in log scale in both x-axis and y-axis

R. Michael Weylandt michael.weylandt at gmail.com
Thu Apr 4 22:41:29 CEST 2013


On Thu, Apr 4, 2013 at 3:35 PM, capricy gao <capricyg at yahoo.com> wrote:
>
> I am trying to plot(x,y, log="y"), which gives me log scale on y axis only. I wonder if there is way so that I can plot log scale on both of x and y axis.

plot(x, y, log = 'xy')

Cheers,
MW

>
> Thanks a lot:)
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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