Hi All,

I'm trying following code and would need help with:

1. Flexibility to move legend inside (top, right, left, etc...). Currently
its overlaying with plot's border.
2. Reducing width/height and making it more compact, with small boxes.

# Requires installing and loading "ggplot2" package
p <- ggplot(mtcars, aes(factor(cyl), mpg))
p + geom_boxplot(aes(fill = factor(am)))
last_plot() + opts(panel.grid.major = theme_blank())
last_plot() + opts(panel.grid.minor = theme_blank())
last_plot() + opts(panel.background = theme_rect())
last_plot() + opts(axis.line = theme_segment())

Can anyone please suggest something? Thanks in advance,
~Kim Jung Hwa

	[[alternative HTML version deleted]]


