gmt icon indicating copy to clipboard operation
gmt copied to clipboard

Wrong line width when setting pen style in MAP_GRID_PEN

Open ZMAlt opened this issue 1 year ago • 3 comments

The original post is here.

gmt basemap -Rd -JQ5i -Bafg --MAP_GRID_PEN=4p,black,dotted  -png test1
gmt basemap -Rd -JQ5i -Bafg --MAP_GRID_PEN=4p,black         -png test2

The first line gives: test1

The second line gives: test2

System information

  • Operating system: macos
  • GMT version (gmt --version): gmt 6.5

ZMAlt avatar Dec 31 '24 01:12 ZMAlt

This is a modern mode issue. In classic we get

psbasemap -Rd -JQ5i -Bafg --MAP_GRID_PEN=4p,black,dotted -P > lixo.ps

lixo

joa-quim avatar Jan 02 '25 00:01 joa-quim

I think that "it is not a bug it is a feature". See comment on the forum .

Esteban82 avatar Jan 03 '25 16:01 Esteban82

No, it is a bug nevertheless. And one very boring to catch. Tried a bit but gave up.

joa-quim avatar Jan 03 '25 16:01 joa-quim