# Psbasemap -Tmg ( magnetic direction map rose )

**URL:** <https://forum.generic-mapping-tools.org/t/psbasemap-tmg-magnetic-direction-map-rose/470>\
**Category:** Q&A\
**Created:** [May 13, 2020, 8:57am UTC](https://forum.generic-mapping-tools.org/t/psbasemap-tmg-magnetic-direction-map-rose/470 "2020-05-13T08:57:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@Nicolas](https://forum.generic-mapping-tools.org/u/Nicolas)\
**Post date:** [May 13, 2020, 8:57am UTC](https://forum.generic-mapping-tools.org/t/psbasemap-tmg-magnetic-direction-map-rose/470/1 "2020-05-13T08:57:40Z")

</div>

Hello,  
I don’t get a correct result with the PSBASEMAP -TM command.

Thanks.

```
gmt psbasemap -R195/225/0/90 -JT210/6c -Tmg210/15+w5c+d12.35+t30/10/5/30/10/2+i0.02c+p0.02c+l -K > compas.ps
gmt psbasemap -R -J -Tmg210/15+w5c+d10.35+t30/10/5/30/10/2+i0.02c+p0.02c+l -X8 -O >> compas.ps

```

 ![compas](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/1X/7bbc37fac951c7edc15218c2404bb1c299a54350.png)

---

<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:** [May 13, 2020, 7:30pm UTC](https://forum.generic-mapping-tools.org/t/psbasemap-tmg-magnetic-direction-map-rose/470/2 "2020-05-13T19:30:24Z")

</div>

Thanks for this report - I confirm the problem. I have created an issue on GitHub. When you find a clear-cut bug like this, please open an issue on GitBug instead of a discussion thread on the forum.

Cheers, Paul

---

<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:** [May 13, 2020, 9:14pm UTC](https://forum.generic-mapping-tools.org/t/psbasemap-tmg-magnetic-direction-map-rose/470/3 "2020-05-13T21:14:53Z")

</div>

Fixed in the repository: [https://github.com/GenericMappingTools/gmt/pull/3329](https://github.com/GenericMappingTools/gmt/pull/3329)

---

<div class="post-metadata">

**Author:** ![Nicolas](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@Nicolas](https://forum.generic-mapping-tools.org/u/Nicolas)\
**Post date:** [May 14, 2020, 8:29am UTC](https://forum.generic-mapping-tools.org/t/psbasemap-tmg-magnetic-direction-map-rose/470/4 "2020-05-14T08:29:43Z")

</div>

Thank you for your reply,

Nicolas
