Top "Legend" questions

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

Legend on survival plot

Hi I am totally new to R. This is my first attempt at it. I am producing a survival plot …

r plot legend survival-analysis
horizontal legend at the bottom of graph in jqplot

I m able to get horizontal legend of jqplot graph using EnhancedLegendRenderer plugin.But i need horizontal legend at the …

jqplot legend
multiple bquote items in legend of an R plot

Following works, (copy & paste into R) a=123 plot(1,1) legend('bottomleft',legend=bquote(theta == .(a))) I want to have multiple …

r plot legend plotmath
How to italicize one category in a legend in ggplot2

For my legend in ggplot2 I have 2 categories, how do I italicize only 1 category and not the other? As an …

r ggplot2 legend italics ggtext
Add horizontal lines to stacked barplot in ggplot2 in R, and show in legend

I have a stacked barplot, something like the example below. I want to add one or two sets of horizontal …

r ggplot2 bar-chart legend legend-properties
R: legend expression how to add comma between two values and how to supress scientific notation

I'm trying to format the legend in my plot, but I have to use expression() because of greek and superscripts. …

r plot expression legend plotmath
Remove lines from color and fill legends

I have a plot with three different legends: one for linetype, one for color, and one for fill. In the …

r ggplot2 colors legend
text caption not appearing matplotlib

I cannot understand why my text caption does not appear on my plot. I am finding the documentation pretty confusing …

python matplotlib legend caption
Highcharts - fire legendItemClick event

I want to fire the same event that it's fired when you select an item legend but from an external …

events highcharts legend linechart
Graphviz Legend/Key with Nodes

I am trying to create a legend/key in Graphviz that contains, not just text, but nodes and edges. While …

key graphviz legend directed-graph