# FONT\_ANNOT properties

**URL:** <https://forum.generic-mapping-tools.org/t/font-annot-properties/1438>\
**Category:** Q&A\
**Created:** [March 6, 2021, 6:04am UTC](https://forum.generic-mapping-tools.org/t/font-annot-properties/1438 "2021-03-06T06:04:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![axelwang](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@axelwang](https://forum.generic-mapping-tools.org/u/axelwang)\
**Post date:** [March 6, 2021, 6:04am UTC](https://forum.generic-mapping-tools.org/t/font-annot-properties/1438/1 "2021-03-06T06:04:01Z")

</div>

Hey,

I would like to have some control on the tick lengths and the spacing between ticks and axes labels. I saw on the documentation that `FONT_ANNOT_PRIMARY +2p` should have a handle on this, where 2p is just an example value (I am not sure if something like 2p/3p/4p is allowed). However, I don’t not know what does this exactly do, so I started experimenting with my script. Now every label on my plot is sort of off (I do observe a change in tick length) and I don’t know how to even set it back to default. I tried `gmtdefaults -D` but these + properties are not listed.

Another thing I would like to do is to have different font sizes for X and Y labels. Could this be achieved by “FONT\_ANNOT”?

Thank you!

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [March 6, 2021, 6:16am UTC](https://forum.generic-mapping-tools.org/t/font-annot-properties/1438/2 "2021-03-06T06:16:25Z")

</div>

The +size means everything is scaled proportionally relative to the font size using the proportions of the defaults. You can always override specific settings like tick lengths (MAP\_TICK\_LENGTH) or annotations offsets (MAP\_ANNOT\_OFFSET) etc etc. To get different fonts for different axes you will have to plot basemap twice (once for x and once for y).

---

<div class="post-metadata">

**Author:** ![axelwang](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@axelwang](https://forum.generic-mapping-tools.org/u/axelwang)\
**Post date:** [March 6, 2021, 6:56am UTC](https://forum.generic-mapping-tools.org/t/font-annot-properties/1438/3 "2021-03-06T06:56:55Z")

</div>

Great! Thanks for the tops!
