Merge 5fb8e84939708334925f553311dc698dfd398235 into 9e92ada61a1b4f0bf41387198ab46ca66170d713
This commit is contained in:
commit
71c900771b
@ -1104,10 +1104,10 @@ function gr_add_legend(sp, leg, viewport_plotarea)
|
||||
ms = first(series[:markersize])
|
||||
msw = first(series[:markerstrokewidth])
|
||||
s, sw = if ms > 0
|
||||
0.8 * sp[:legend_font_pointsize],
|
||||
0.8 * sp[:legend_font_pointsize] * msw / ms
|
||||
0.4 * sp[:legend_font_pointsize],
|
||||
0.4 * sp[:legend_font_pointsize] * msw / ms
|
||||
else
|
||||
0, 0.8 * sp[:legend_font_pointsize] * msw / 8
|
||||
0, 0.4 * sp[:legend_font_pointsize] * msw / 8
|
||||
end
|
||||
gr_draw_markers(series, xpos - leg.width_factor * 2, ypos, clims, s, sw)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user