GenericMappingTools / GenericMappingTools/gmt

Subplot with coast -E fails to set correct projection/region in subcalls

Open
#6,858 2 comments 0 reactions 1 assignee Claimed by @PaulWessel View on GitHub
bug
Dominant language
C
Stars
979
Forks
414
Avg merge
17h 26m
Merged PRs (30d)
54

Description

While I thought we fixed this a short while ago, apparently not. This example shows the problem:

```
gmt begin Subplots png
gmt subplot begin 1x1 -Ff20c
gmt coast -R-80/-64/-6/14 -B -BWNse+t"Colombia" -ECO+gred -Wthin -Gdarkolivegreen -Slightblue -N1/thick,darkbrown -c
gmt subplot end
gmt end show
```

with result

![Subplots](https://user-images.githubusercontent.com/26473567/177807996-f79c20c3-3881-41e5-9b25-f6ca622546d6.png)

The problem is that coast will get the polygon to be painted red and call **plot** and clearly the argument passed (-R -J) are not correct.

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.