I am guessing you are trying to do this?
ggplot(df, aes(dates, y)) + geom_point(aes(shape = groups)) +
opts(legend.position = c(0.1, 0.85))
The range for the legend position within a plot is 0-1.
--Kaori
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example:
https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ggplot2+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.