# Make lines in legend longer

**URL:** <https://discourse.julialang.org/t/make-lines-in-legend-longer/87479>\
**Category:** Visualization\
**Tags:** gr\
**Created:** [September 19, 2022, 3:44pm UTC](https://discourse.julialang.org/t/make-lines-in-legend-longer/87479 "2022-09-19T15:44:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [September 19, 2022, 3:44pm UTC](https://discourse.julialang.org/t/make-lines-in-legend-longer/87479/1 "2022-09-19T15:44:12Z")

</div>

I am trying to create a separate common legend for a grid of plots, however the length of the lines in the legend appears too short.

What keyword argument modifies it?

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [September 20, 2022, 9:25am UTC](https://discourse.julialang.org/t/make-lines-in-legend-longer/87479/2 "2022-09-20T09:25:54Z")

</div>

You could use `linepoints`:  
[linepoints](https://docs.makie.org/v0.17.13/api/#Legend)

---

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [September 20, 2022, 10:30am UTC](https://discourse.julialang.org/t/make-lines-in-legend-longer/87479/3 "2022-09-20T10:30:21Z")

</div>

But what if I use GR backend instead of Makie?
