Re: [R] dotchart with log scale?

From: hadley wickham <>
Date: Thu 20 Jul 2006 - 22:32:03 EST

> I would like to draw a dot chart on a log scale.
> What is the syntax for this? A barchart may use
> log="x", but trying this with dotchart() leads
> to an error message.

You can do this easily with ggplot:

qplot(mpg, factor(cyl), data=mtcars, log="x")


Hadley mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu Jul 20 22:39:59 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 Fri 21 Jul 2006 - 00:17:37 EST.

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