Skip to content

Do not let -Bz trigger x-y basemap #4290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 6, 2020
Merged

Do not let -Bz trigger x-y basemap #4290

merged 2 commits into from
Oct 6, 2020

Conversation

PaulWessel
Copy link
Member

@PaulWessel PaulWessel commented Oct 6, 2020

What it says. Partly addresses #4181.

@PaulWessel PaulWessel requested review from seisman and weiji14 October 6, 2020 04:19
@seisman
Copy link
Member

seisman commented Oct 6, 2020

@weiji14's codes still produce the incorrect basemap.

@PaulWessel
Copy link
Member Author

All I know is that

gmt basemap -R0/10/0/10/0/10 -JM5i -JZ3i -Bz -p135/35 -pdf map

no longer plots the x-y map whereas prior to this PR it did. But I see his script still gives the double whammy. Hm.

@PaulWessel
Copy link
Member Author

Not sure why, but it happens because no -J is given for x-y. If you add -JM15c or similar there is not map. So need to see why this also triggers the setting of draw = true.

@PaulWessel
Copy link
Member Author

I think the problem is -Bz. There is no way to tell if this is a subset of -BWweESsZz or -Bz as short for -Bzaf.

@PaulWessel
Copy link
Member Author

Not out of the woods, but this PR is a start. It catches some of these, such as my example on top.

@seisman
Copy link
Member

seisman commented Oct 6, 2020

#4181 is still not fixed, but at least your command works well.

@PaulWessel PaulWessel merged commit 7ecee45 into master Oct 6, 2020
@PaulWessel PaulWessel deleted the no-xy-basemap branch October 6, 2020 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants