# How do I plot a solid colour throughout a whole figure?

**URL:** <https://forum.generic-mapping-tools.org/t/how-do-i-plot-a-solid-colour-throughout-a-whole-figure/2149>\
**Category:** Q&A\
**Created:** [September 29, 2021, 2:10pm UTC](https://forum.generic-mapping-tools.org/t/how-do-i-plot-a-solid-colour-throughout-a-whole-figure/2149 "2021-09-29T14:10:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisjordan](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@chrisjordan](https://forum.generic-mapping-tools.org/u/chrisjordan)\
**Post date:** [September 29, 2021, 2:10pm UTC](https://forum.generic-mapping-tools.org/t/how-do-i-plot-a-solid-colour-throughout-a-whole-figure/2149/1 "2021-09-29T14:10:38Z")

</div>

I’d want to use a solid colour to fill my whole map figure so that I may use it as a background for my map. How would I go about doing this?

Add +gcolor to the frame setting is a basic function of popular option -B.

---

<div class="post-metadata">

**Author:** ![maxrjones](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/maxrjones/32/2698_2.png) [@maxrjones](https://forum.generic-mapping-tools.org/u/maxrjones)\
**Post date:** [September 29, 2021, 3:19pm UTC](https://forum.generic-mapping-tools.org/t/how-do-i-plot-a-solid-colour-throughout-a-whole-figure/2149/2 "2021-09-29T15:19:47Z")

</div>

Welcome to the community! Below is an example of how to use +gcolor for a background color.

gmt begin ex png  
gmt basemap -R0/10/0/10 -JX6c -Bafg -BWESN+glightblue  
gmt end show

 ![ex](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/f/fc782edf6c0d284e269b398ca9ef7d59d936d659.png)
