Skip to main content

All Questions

Tagged with
1 vote
0 answers
39 views

Text shifted in legend because of LaTeX formatting in matplotlib

For some reason in my subplot, the legend of the second ax is cropped at the bottom inside of the legend box. It seems the index causes the text to shift a bit. The legend box itself is perfectly fine....
Chris Ze Third's user avatar
0 votes
1 answer
39 views

Edit legend title in ggplot2 (3.5.1) [duplicate]

I have successfully edited the x and y axis titles, but I'm stuck on the legend title and labels. Here is the code I have run so far: m.emo.plot <- interact_plot(model = m.emo, pred = cemodiff, ...
medusa's user avatar
  • 45
0 votes
1 answer
26 views

How to avoid overlapping legends for multiple geom_point layers in ggplot2

I'm trying to create a chart with 2 geom_points and a geom_text_repel layer. When I display my legend, the geom_points overlap. The main data points should be represented as empty circles, while the &...
NoNameBoyy's user avatar
0 votes
1 answer
37 views

I want to get two legends for two different groups in a two Y-Axis plot [closed]

so I have a two Y-Axis plot. Each Y-Axis is given a group of Data. I want to have two different legends for each group on left and right side of plot on the locations shown in the second picture. This ...
Nick Brown's user avatar
0 votes
1 answer
63 views

How to center legend text in ggplot

I have a plot that looks like this: I used these data and code to produce it: structure(list(zone = c("Zone 1", "Zone 2", "Zone 3", "Zone 4", "Zone 5&...
Ryan Gary's user avatar
  • 141
0 votes
1 answer
43 views

Legend is not reflecting symbol plotted in ggplot2

I have a dataframe that looks like this: structure(list(season = c("Fall", "Spring", "Summer", "Winter" ), effort = c(2559.85453311966, 4741.60449074074, 2014....
Ryan Gary's user avatar
  • 141
-1 votes
1 answer
38 views

Add horizontal lines with according color and legend to ggplot using R

I want to add horizontal lines so that the lines have y-intercept of period and colors according to their obj_name, ie the same colors as the line plot for each object. I succeeded in putting in these ...
Jason Liu's user avatar
0 votes
3 answers
62 views

Having different shapes of points for each line and making them shown on the legends

My goal is to make the graph look something like this My Goal. The problem I'm having is that ggplot won't let me use more than 6 kinds of shapes for the points, so my graph looks something like this ...
Jason Liu's user avatar
0 votes
2 answers
36 views

Overlapping legend of a line plot

I want to show each line as having a different color and shape, and that should be reflected on the legend. Basically, it should look something like this My Goal. I could make the color and point ...
Jason Liu's user avatar
0 votes
0 answers
34 views

Same scale in legend for circular bar plot

Building on this post and code (with reproducible example) Different fill color for negative values in circular barplot, I want to plot two of these figures together as a comparison, like this: But ...
MoonS's user avatar
  • 175
1 vote
1 answer
57 views

How to make Matlab legend show opaque plot symbols when scatter plot symbols are semi-transparent in the figure

I am trying to create a scatter plot cloud, of which I set the points are all "filled" and semi-transparent by setting "MarkerFaceAlpha=0.1". However, when I export the legend ...
Kevin's user avatar
  • 29
0 votes
0 answers
4 views

Misconfigured legends

I use the following script and I obtain a missconfigured legends. Do you know the reason? barplot(x, main="Especies y Grupos", beside=TRUE, col=c("red","green3","...
Cristóbal León-Salas's user avatar
0 votes
0 answers
16 views

No marker on line titles

I want to remove the markers (dots) after every keys as shown in the figure. I just need the title. Also please suggest me simple way to move individual title near to the curves. I am using ...
ASD's user avatar
  • 1
0 votes
0 answers
83 views

How to manage overlapping yticks and legends in a heatmap plot in julia?

enter image description here I'm trying to create a heatmap featuring yticks on both the left and right side of each row. While plotting, I've encountered an issue where the yticks on the right side ...
Magali's user avatar
  • 1
-1 votes
1 answer
82 views

How to customize the min and max vertex size when plot igraph object and create legend at selected vertex size

Here is an igraph object with 10 vertices and each vertex is assigned one of two colors. I want to plot this graph with vertex size varying by a variable called val, which is a vector of length 10 and ...
Patrick's user avatar
  • 1,157

15 30 50 per page
1
2 3 4 5
58