Displaying 1 result from an estimated 1 matches for "combined_data".
2009 Jan 30
1
Using ggplot2 I need to move the location of legend to on the plot
...advice I've been flipping through the ggplot2 doc and ggplot-static\index.html webpage more looking for the answer to the next question.
Unfortunately, I haven't stumbled on a description of how to move around the location of the legend.
Here is what I have so far:
qplot(Age, data = combined_data, binwidth = 1,
fill = combined_data$Type) +
scale_x_continuous("Age") + scale_y_continuous("Freq") +
scale_fill_discrete("Type")
I'm guessing there is a way to move the legend some place thanks again.
[[alternative HTML...