Top "Legend" questions

A graph legend is commonly used when plotting several sets of data within the same diagram.

R legend placement in a plot

I have a plot that has data that runs into the area I'd like to use for a legend. Is …

r plot legend
Reduce size of legend area in barplot

I can't reduce the size of the legend in this plot. Could someone help me out? I want it to …

r plot legend
plot legends without border and with white background

I have a legend in a plot with a line (from an abline-statement) going through it. How can I achieve …

r plot legend
HighCharts Hide Series Name from the Legend

I try to solve this problem several times and give up. Now, when I have met him again, I decided …

javascript hide highcharts legend series
Add a common Legend for combined ggplots

I have two ggplots which I align horizontally with grid.arrange. I have looked through a lot of forum posts, …

r ggplot2 legend gridextra
Edit seaborn legend

Using a data frame and this code in Python, I was able to create a plot: g = sns.lmplot('credibility', …

python matplotlib legend seaborn
Matplotlib - global legend and title aside subplots

I've started with matplot and managed some basic plots, but now I find it hard to discover how to do …

matplotlib title legend subplot
Is there a way to change the spacing between legend items in ggplot2?

Is there a way to change the spacing between legend items in ggplot2? I currently have legend.position ="top" which …

r ggplot2 legend
Matplotlib automatic legend outside plot

I am trying to use the keyword bbox_to_anchor() in a matplotlib plot in Python. Here is a very …

python matplotlib plot legend legend-properties
R: legend with points and lines being different colors (for the same legend item)

Using the legend() function is it possible to have the point and line be different colors? I feel like I'm …

r legend