I am trying to make a boxplot of 2 different beta coefficients (returned from a model) from two groups of categories and I want to overlay the "true p ...
I am trying to make a boxplot of 2 different beta coefficients (returned from a model) from two groups of categories and I want to overlay the "true p ...
I am trying to reproduce this figure (without the Portugal highlight): The data (and figure) can be found in this link: https://stat.link/uz49al. I ...
I am creating a geopandas plot in which I have colors dependent on a column value and the markersize on another column value. When I put legend= True ...
I've run a number of models with two estimated parameters per model with five groups and two treatments. I'm trying to graph the confidence intervals ...
I have a plot with two legends that are not of the same height. I would like to place them such that their titles start at the same place on the y-axi ...
I've been trying to edit my legend on a line chart to use different symbols for each field in the series. My output on the actual chart is showing cor ...
I am trying to add a legend to my scatter plot with 13 classes, however, with my code below, I am only able to get the first label. Can you assist me ...
Can any expert help me merge the following legend? I would like all the two legends to be merged Can any expert help me merge the following legend? I ...
Using geom_rect I am separating my data into classes in a ggplot. These classes (v high, high, medium, low, v low) are denoted in the legend. Is there ...
I create overlaying distribution plots by group memberships using Now, I add a vertical line to the plot and would like to add an entry for this li ...
Aim: add the linetypes of the segments to the legend, as well as the colour. Problem: only the colour is showing. Data: m = as.data.frame(matrix(c( ...
Is it possible to make the transparency (alpha) appear as a continuous gradient in the ggplot legend? Currently, the plot looks like this: Here, the ...
Building off of my previous question, with thanks to @AndrewGB for the code modifications (Specifying fill color independent of mapping aesthetics in ...
How can I make the legend show not only the line colour, but also the linetype? I want the grey line next to "y = x" to be dashed, like in the plot. ...
I have two data sets that I want to combine into one plot, one as a barplot (2 groups) and one as a point-line plot (1 group). I've managed to combine ...
I would like to plot a barplot where bars have a different hatch and edge color using Matplotlib with its proper legends. I tried to plot but I couldn ...
I am trying to display multiple legends within multiple subplots. Currently, I am able to create figures with subplots and display multiple legends wi ...
The data is 1965-2019 Renewable Energy Vs Alternative Energy Sources. I have two issues I am trying to tackle here. I would like to 1) Add a custom le ...
I'm plotting the same data by different time scales (Week, Month, Quarter, etc.) using ggplot, and as a result, I'm pulling the data from different co ...
I would like to use the font family "Consolas" in my matplotlib legend in order to benefit the monospaced font. I also want a legend title. But it se ...