Changing size of column in facet

692 views
Skip to first unread message

thomas

unread,
Oct 21, 2010, 6:42:54 AM10/21/10
to ggplot2
Hi,

is there a way to change the width of a specific column in a facet?

ggplot(data,aes(x,y,colour=Section)) + geom_point(size=3) +
facet_grid(. ~ Section,scales="free_x")

But since each Section has a different number of points, the x-labels
get squeezed together since ggplot2 always uses the same width for
every Section-grid.

Thank you
Thomas

thomas

unread,
Oct 21, 2010, 6:46:35 AM10/21/10
to ggplot2
And I know of "space = free" but I would like to make some columns
even smaller than space=free does.

Hadley Wickham

unread,
Oct 23, 2010, 12:28:04 AM10/23/10
to thomas, ggplot2
It's not currently possible.
Hadley

> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>

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

thomas

unread,
Oct 23, 2010, 5:56:30 AM10/23/10
to ggplot2
Ok, thank you.

Thomas
Reply all
Reply to author
Forward
0 new messages