Skip to content

inset: Specifing the region using -Dxmin/xmax/ymin/ymax doesn't work #9224

Description

@seisman

Description of the problem

inset supports the -Dxmin/xmax/ymin/ymax to define the inset region, but it doesn't work as expected.

Full script that generated the error

gmt begin inset pdf
  gmt basemap -R0/40/20/60 -JM6.5i -Bafg -B+glightgreen
  gmt inset begin -D5/15/25/35 -F+gpink+p0.5p
    gmt basemap -Rg -JA20/20/? -Bafg
    gmt text -F+f18p+cTR+tINSET -Dj-0.15i -N
  gmt inset end
  gmt text -F+f18p+cBL+tMAP -Dj0.2i
gmt end show

Full error message

basemap [ERROR]: Offending option -JA20/20/0i

Actual outcome

Expected outcome

System information

  • Operating system: macOS
  • GMT version (gmt --version): 6.7.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions