GenericMappingTools / GenericMappingTools/gmt

MAP_FRAME_PEN auto-scaling is not ideal in modern mode

Open
#6,786 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
979
Forks
414
Avg merge
17h 26m
Merged PRs (30d)
54

Description

**Description of the problem**

The following script plots three basemaps with different sizes (10c, 5c and 1c).
```
gmt begin map
gmt basemap -R0/10/0/10 -JX10c -B0
gmt colorbar -Crainbow -Baf

gmt basemap -R0/10/0/10 -JX5c -B0 -X10c
gmt colorbar -Crainbow -Baf

gmt basemap -R0/10/0/10 -JX1c -B0 -X5c
gmt colorbar -Crainbow -Baf
gmt end show
```
Here is the output image. As you can see, the frame pen thickness is almost identical (with very small thickness changes). The default pen thickness looks good for a 15-cm-wide basemap, but is too thick for a 5-cm-wide or 1-cm-wide basemap.

![map](https://user-images.githubusercontent.com/3974108/173028013-13287b5a-6722-472f-a7bd-2a1f8440aa9b.png)

**System information**

* GMT version (`gmt --version`): `6.4.0_a7493e9_2022.05.26`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.