[R] ggplot2 : bug in coord_equal() ?

hadley wickham h.wickham at gmail.com
Fri Feb 26 17:11:42 CET 2010


Hi David,

That's the behaviour I'd expect - the plot is 5 x 13000.  What were
you expecting?

Hadley

On Fri, Feb 26, 2010 at 8:06 AM, David Hajage <dhajage.r at gmail.com> wrote:
> Hello,
>
> I think there is a bug in coord_equal when x s a factor :
>
> ggplot(diamonds, aes(clarity, fill=cut)) + geom_bar()
> ggplot(diamonds, aes(clarity, fill=cut)) + geom_bar() + coord_equal(1/2)
>
> David
>
> ______________________________________________
> 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.
>



-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-help mailing list