Skip to content

params.Frame: Allow setting 'axis' and 'zaxis' simultaneously#4498

Merged
seisman merged 1 commit intomainfrom
frame/axis
Apr 7, 2026
Merged

params.Frame: Allow setting 'axis' and 'zaxis' simultaneously#4498
seisman merged 1 commit intomainfrom
frame/axis

Conversation

@seisman
Copy link
Copy Markdown
Member

@seisman seisman commented Apr 6, 2026

As shown in #4497, axis and zaxis can coexist. This can be verified with:

gmt basemap -R0/10/0/10/0/10 -JX10c -pdf map -p30/120 -JZ10c -BWSenZ -Ba2f2 -Bza1f1

In practice, axis can also be specified together with xaxis and yaxis, as demonstrated by:

gmt basemap -R0/10/0/10/0/10 -JX10c -pdf map -p30/120 -JZ10c -BWSenZ -Ba2f2 -Bxa1f1
gmt basemap -R0/10/0/10/0/10 -JX10c -pdf map -p30/120 -JZ10c -BWSenZ -Ba2f2 -Bya1f1

However, in these cases, xaxis and yaxis are silently ignored. Therefore, we maintain that axis should not be used together with xaxis, yaxis, xaxis2, or yaxis2.

Patches #4406.

@seisman seisman added this to the 0.19.0 milestone Apr 6, 2026
@seisman seisman added bug Something isn't working skip-changelog Skip adding Pull Request to changelog final review call This PR requires final review and approval from a second reviewer and removed final review call This PR requires final review and approval from a second reviewer labels Apr 6, 2026
@seisman seisman merged commit d39285e into main Apr 7, 2026
26 of 28 checks passed
@seisman seisman deleted the frame/axis branch April 7, 2026 01:48
@seisman seisman changed the title Frame: Allow setting 'axis' and 'zaxis' simultaneously params.Frame: Allow setting 'axis' and 'zaxis' simultaneously Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant