Top "Legend" questions

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

Default CSS values for a fieldset <legend>

I'm trying to use a <legend> as a title inside a <fieldset>. In browsers other than …

html css legend fieldset
Legend with color filling and shading lines in Base R

In my plot I have two intersecting polygons, one colored and one with shading lines. In the legend I would …

r plot legend base
Reverse the order of legend

I use the following code to plot the bar graph. Need to present a legend in reverse order. How can …

python matplotlib reverse legend
How to create a scatter plot legend with only one symbol for each label?

How can I create a scatter plot legend without two symbols showing up each time? I can understand why you'd …

matplotlib legend
How do you just show the text label in plot legend? (e.g. remove a label's line in the legend)

I want to show the text for a line's label in the legend, but not a line too (As shown …

python matplotlib plot legend figure
How do I include a superscript to texts on a plot on R?

I need it to look like this: R^2 = some values And I've tried the code below but it wouldn't work, …

r plot legend superscript
R lattice package: add legend to a figure

I am using the lattice package, and I want to add a legend to my figure. The documentation of auto.…

r legend lattice
ggplot2 legend items in a single horizontal row

This may seem like a stupid question, but I am a little confused. It seems that the code I wrote …

r ggplot2 legend
Matplotlib: how to adjust space between legend markers and labels?

I want to adjust space between legend markers and labels. Sometime the space is too much as default. Does anyone …

python matplotlib legend
Multiple Lines for Text per Legend Label in ggplot2

I'm trying to deal with very long labels for a legend in a bar plot (see picture included and the …

r ggplot2 legend