question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for multiple legends

See original GitHub issue

Useful when mapping multiple discrete variables to different visual aesthetics (i.e., marker.color & marker.symbol) without having to list every possible combination of levels.

Here is a ggplot2 example

qplot(data = mtcars, mpg, wt, color = factor(vs), shape = factor(am))

screen shot 2017-05-10 at 4 58 20 pm

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:80
  • Comments:36 (7 by maintainers)

github_iconTop GitHub Comments

14reactions
vianampcommented, Aug 9, 2019

Looking forward to have this feature available.

7reactions
JeroneGaglianocommented, Nov 19, 2019

Agree with @russellromney Having a separate legend option for each subplot is a high priority issue! Having one legend entry on the side or at the bottom of the subplots is not that helpful as they do not know which points are including in each subplot until they hover over the lines. See this example of how useful the individual legends would be.

What is the timeline for adding this? Thanks! PlotlySubplotMultipleLegendsExample

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple legends PROC SGPLOT - SAS Support Communities
Hi Everyone, I am creating a series plot/graph using PROC SGPLOT series x=value y=curve; I want to show different equation values on ...
Read more >
r - ggplot - Multiple legends arrangement - Stack Overflow
The idea is to create each plot individually ( color , fill & size ) then extract their legends and combine them in...
Read more >
Working with legends
Legend functions · Reposition legend onto plotting panel. Multiple legends per guide; Legends are placed under axis lines · Shared legend across multiple...
Read more >
How to create multiple legends for a chart control? - Syncfusion
Essential Chart supports multiple legends in single chart control. · C# · // Creating Legends · ChartLegend legend1 = new ChartLegend(chartControl1); · ChartLegend ......
Read more >
How to insert multiple legends in a figure - MATLAB Answers
However, you can customize such legends to show individual entries for all or selected member objects and assign a unique DisplayName to any...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found