# Plot: Using pattern colour in -Gp/-GP from -Z option

**URL:** <https://forum.generic-mapping-tools.org/t/plot-using-pattern-colour-in-gp-gp-from-z-option/1503>\
**Category:** Q&A\
**Created:** [March 26, 2021, 2:55pm UTC](https://forum.generic-mapping-tools.org/t/plot-using-pattern-colour-in-gp-gp-from-z-option/1503 "2021-03-26T14:55:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chhei-s](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/chhei-s/32/1028_2.png) [@chhei-s](https://forum.generic-mapping-tools.org/u/chhei-s)\
**Post date:** [March 26, 2021, 2:55pm UTC](https://forum.generic-mapping-tools.org/t/plot-using-pattern-colour-in-gp-gp-from-z-option/1503/1 "2021-03-26T14:55:44Z")

</div>

Hi all,

I am unsuccessfully trying to have `plot` pick up foreground values for a pattern which I am setting via a `-Z` call along these lines:

```
gmt plot POLYFILE.xy -Z100 -Gp11+f+z+b+r300 

```

but that doesn’t work unless I am missing something. If considered useful by the community/devs, any chance this could be implemented?

Cheers, Christian
