tags:

views:

39

answers:

1

I have a plot with several lines representing different columns of data, the legend is being arrange as a vertical column, but I want to place it at the bottom of the chart and arrange the keys horizontally, can it be done? Thanks!

A: 

Unfortunately not in the current implementation of ggplot2. Hadley has it on his to-do I think :-)

You can always position the legend manually

opts(legend.position=c(0.5,0.5))

but the keys stays vertical :-/

Andreas