Skip to content

Two images of same size offset with -X do not align. -p bug? #8794

Closed

Description

@joa-quim

See also GMT.jl issue #1808

gmt pscoast  -Rg -JF180/0/60/3 -Baf -BWSen -Ggray -Sblue -Da -P -K > lixo.ps
gmt pscoast  -Rg -JF180/0/60/3 -B -X3 -p90/90 -Ggray -Sblue -Da -O >> lixo.ps

We had (have?) once an issue with rotation by -p. Smells like a -p bug in picking the point about which it rotates.

Image

Activity

  1. added
    bug
    on Sep 14, 2025
  2. Esteban82 commented on Sep 14, 2025

    @Esteban82
    Member

    I agree that there is something wrong.

    I tried this

    gmt begin coast png
    	gmt coast -Rg -B0 -Sblue -p180/90+v1c/0  -JF180/0/60/3 
    	gmt coast -X3 -B0 -Sblue -p90/90+v1c/0
    gmt en
    
    Image

    If I used -p179/90 then I got this:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions