Re: [R] Plotting logarithmic and semiloarithmic charts.

From: hadley wickham <>
Date: Mon 07 Aug 2006 - 23:46:35 EST

> > Can anyone help me to find functions
> > like LOGLOG and SEMILOG in Matlab.
> >
> > I am sure that they are out there.
> > Thanks in advance
> plot(....., log="y")
> plot(....., log="x")
> plot(....., log="xy")



qplot(....., log="y")
qplot(....., log="x")
qplot(....., log="xy")

which work with all types of graphics, not just scatterplots.

You can transform the axes using any monotone function, see ?pscontinuous for examples.

Hadley mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue Aug 08 13:14:14 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 08 Aug 2006 - 14:21:39 EST.

Mailing list information is available at Please read the posting guide before posting to the list.