Top "Legend" questions

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

How to add a legend to hline?

I'd like to add a legend to hline plot. The head of my subset looks like this Site Date Al 1 …

r ggplot2 legend geom-hline
ggplot - Multiple legends arrangement

I want to arrange mutiple legend in ggplot with multiple rows and columns. However currently, from the documentation I can …

r ggplot2 legend cowplot
Change Silverlight Chart Legend Item Layout

I am working on customizing the layout of a Silverlight Toolkit Chart. I have two requirements: 1) Move the Legend area …

silverlight charts toolkit legend
How to have a common legend for subplots?

I am trying to create a figure of subplots. I don't want the subplots to have legends but instead the …

matlab matlab-figure legend figure subplot
Seaborn boxplot + stripplot: duplicate legend

One of the coolest things you can easily make in seaborn is boxplot + stripplot combination: import matplotlib.pyplot as plt …

python matplotlib legend seaborn
Create map legend to match OpenLayers.Style

I've created an OpenLayers.Style that colours my polygons, a style that sizes my points and all that jazz, now …

openlayers legend
how to align the legend title to the middle of legend box in ggplot2?

I want to move the legend title sex a little right to the horizontal center of legend box. I tried …

r ggplot2 legend
Matplotlib: Color-coded text in legend instead of a line

On certain LCD monitors, the color of the horizontal lines in the legend is hard to tell apart. (See the …

python numpy matplotlib plot legend
creating a matplotlib scatter legend size related

I am looking for a way to include a (matplotlib) legend that describe the size of points in a scatter …

python matplotlib legend scatter-plot
ggplot2 draws two legends

I have almost complete the following graph, but there is one problem with it. The legend in the graph is …

r ggplot2 legend legend-properties