Category "legend"

Difference in legend position between ggplot and ggplotly?

I find out an interesting and strange difference between the same chart in ggplot and ggplotly income_gap_chart <- ggplot(income_gap, aes(x = Country, y = Pe

How to change color of text in plotly scatter and different marker?

I want use plot.ly to plot iris dataset. It has an color parameter in scatter data work like hue in seabron but it only change the color of marker and cant chan

ggplot2 legend items in a single horizontal row

It seems that the code I wrote and tested last week has now suddenly decided to change the output even though nothing in the code or the version of R or Rstudio

R change title size in legend

I use the R base command "legend" to add a legend to a plot and I want the title of this legend to be bigger. In the help it says: cex: character expansion

Combine seaborn legends with histplot

I've got four separate subplots below. the figure is as intended and legend is fine. But I'm including a separate line to each subplot and want to include this

Remove legend key in matplotlib

I want to show a legend text but without a key (the rectangular box or line that appears by default). plt.hist(x, label = 'something') I don't want the bo

Two legends in a fieldset

You can't have two legends for a given fieldset, but is there a way to get a legend effect without using the <legend> tag? <!-- left legend --> <

Remove Wpf Charting Legend

Can anyone help with wpf toolkit charting control? I want to remove the legend beside my chart, but I can't find the solution. Please help thanks. <Window

matplotlib: 2 different legends on same graph

I have a plot where different colors are used for different parameters, and where different line styles are used for different algorithms. The goal is to compar

Centering matplotlib legend entries within incomplete/unfilled rows?

Say I'm making a plot with five items, and only have room to create a legend with 3 columns (more columns than this would be too wide), e.g. import matplotlib.p

Legend on MATLAB plot where every point is scattered individually

I am trying to get a legend on a scatter plot in Matlab, the problem is the way I plot the graph involves scattering each point (of which there are >10,000)

How to create a stand alone legend in R

This is a slightly different but very similar question to How can i create a legend without a plot in r but differs in that I do not want to use the -pch- optio

How to change the text color of font in legend?

Is there a way to change the font color of the legend in a matplotlib plot? Specially in occasions where the background of the plot is dark, the default black t

Sorting order in legend in power bi

I tried subburst chart And drag year field and enable legend also from properties, but this shows that legend is not in order whereas year field is already so