# Plot + symbol in the legend

**URL:** <https://forum.generic-mapping-tools.org/t/plot-symbol-in-the-legend/4151>\
**Category:** Q&A\
**Created:** [July 31, 2023, 8:08am UTC](https://forum.generic-mapping-tools.org/t/plot-symbol-in-the-legend/4151 "2023-07-31T08:08:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhou](https://avatars.discourse-cdn.com/v4/letter/z/3e96dc/32.png) [@Zhou](https://forum.generic-mapping-tools.org/u/Zhou)\
**Post date:** [July 31, 2023, 8:08am UTC](https://forum.generic-mapping-tools.org/t/plot-symbol-in-the-legend/4151/1 "2023-07-31T08:08:55Z")

</div>

Hi I am trying to create a legend with ‘+’ symbols on it. I am able to plot the circles ‘c’ but I am not able to plot the ‘+’. I tried to used + or “+” and related but I couldn’t plot the legend correctly. Someone could help me?

> cat \> tmp\_leyend \<\<- END  
> N 1cat \> tmp\_leyenda \<\<- END  
> N 1  
> S 0.25c c 0.3c black 4p,black 1c Local earthquakes (Kufner et al. (2021).)  
> G 0.3c  
> S 0.25c + 0.8c green 1p,black 1c H-k results (this study). ---------\> My question is here.  
> G 0.075c  
> END  
> gmt legend tmp\_leyenda -DJBR+o5/8c+w12c/10c

---

<div class="post-metadata">

**Author:** ![yvonnefroehlich](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/yvonnefroehlich/32/5064_2.png) [@yvonnefroehlich](https://forum.generic-mapping-tools.org/u/yvonnefroehlich)\
**Post date:** [July 31, 2023, 10:43am UTC](https://forum.generic-mapping-tools.org/t/plot-symbol-in-the-legend/4151/2 "2023-07-31T10:43:43Z")

</div>

Hello @Zhou,

is the `+` not showing up in your legend, or is the color not correct? In the latter case, I feel you have to give the color via the outline (or pen), i.e.,

```auto
N1
S 0.25c c 0.3c black 4p,black 1c circle
G 0.30c
S 0.25c + 0.8c green 1p,green 1c H-k

```

This is probably because the `+` is one of the line-symbols which have no fill.
