Skip to content

Missing corner in BG from julia #3539

Closed

Description

@joa-quim

Oddly this misses the LL corner but the same command works well from command line

basemap(region=(0,40,20,60), proj=:merc, figsize=10, frame=(annot=:afg, fill=:lightgreen), savefig="miss_pix.png", show=1, Vd=1)
        psbasemap  -R0/40/20/60 -JM10 -Bpa -B+glightgreen -P -K > C:\TMP\GMTjl_tmp.ps

miss_pix

Activity

  1. PaulWessel commented on Jun 25, 2020

    @PaulWessel
    Contributor

    The green is painted by a 4-point polygon and then fill it. This cannot be a GMT problem, somehow a issue in psconvert calling gs?

  2. joa-quim commented on Jun 25, 2020

    @joa-quim
    MemberAuthor

    No, it's in the PS. Apparently a white square is painted at the corner.
    GMTjl_tmp.ps.zip

  3. PaulWessel commented on Jun 25, 2020

    @PaulWessel
    Contributor

    Run gmt clear sessions and try again. Still there?

  4. joa-quim commented on Jun 25, 2020

    @joa-quim
    MemberAuthor

    This is from Julia classic mode. No sessions.

  5. PaulWessel commented on Jun 25, 2020

    @PaulWessel
    Contributor

    If you think we are painting a small white square then you will need to step through and see where that is happening, cause I'm not buying it.

  6. joa-quim commented on Jun 25, 2020

    @joa-quim
    MemberAuthor

    Open the ps file in Illustrator

  7. PaulWessel commented on Jun 25, 2020

    @PaulWessel
    Contributor

    I am buying there is a white square, I am not buying GMT placed it there.

  8. PaulWessel commented on Jun 25, 2020

    @PaulWessel
    Contributor

    You'll have to figure out where it comes from if you want me to fix something.

  9. seisman commented on Jun 25, 2020

    @seisman
    Member

    Your PS is generated using the following commands:

    gmt psbasemap  -R0/40/20/60 -JM10 -Bpa -B+glightgreen -P -K --PS_MEDIA=11900x16840 > map.ps
    gmt psxy -T -R0/1/0/1 -JX1 -O >> map.ps
    

    Compare the map.ps and your PS file,

    4c4
    < %%Title: GMT v6.1.0_012bf5c_2020.06.24 [64-bit] Document from psbasemap
    ---
    > %%Title: GMT v6.1.0_229d4bd_2020.06.22 [64-bit] [MP] Document from psbasemap
    8c8
    < %%CreationDate: Wed Jun 24 22:59:44 2020
    ---
    > %%CreationDate: Thu Jun 25 03:19:15 2020
    672c672
    < %@GMT: gmt psbasemap -R0/40/20/60 -JM10 -Bpa -B+glightgreen -P -K --PS_MEDIA=11900x16840
    ---
    > %@GMT: gmt psbasemap -R0/40/20/60 -JM10 -Bpa -B+glightgreen -P -K C:\TMP\GMTjl_tmp.ps --PS_MEDIA=11900x16840
    766c766
    < %@GMT: gmt psxy -T -R0/1/0/1 -JX1 -O
    ---
    > %@GMT: gmt psxy -T -R0/1/0/1 -JX1 -O >C:\TMP\GMTjl_tmp.ps
    771a772,773
    > {1 A} FS
    > -472 0 0 472 472 0 3 0 0 SP
    
  10. joa-quim commented on Jun 25, 2020

    @joa-quim
    MemberAuthor

    Yes, I do that psxy -T trick to close the ps files and it forces me to use also -R -J. But why is it plotting?

  11. joa-quim commented on Jul 18, 2020

    @joa-quim
    MemberAuthor

    Closing as nothing that can really be done other than use a very small -JX. Also indirectly fixed by #3672

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions