Skip to content
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

Add methods to shift plot origins #252

Closed
seisman opened this issue Nov 29, 2018 · 1 comment
Closed

Add methods to shift plot origins #252

seisman opened this issue Nov 29, 2018 · 1 comment

Comments

@seisman
Copy link
Member

seisman commented Nov 29, 2018

Description of the desired feature

In GMT command line, -X and -Y are used to shift plot origins. Sometimes, we need to shift origins but doesn't plot anything. We can use gmt plot -T -X10c -Y10c to shift the origins without plotting anything. However, it's not intuitive both in gmt cmd and gmt-python.

We can add some new methods to shift the origins more explicitly, e.g.

fig.shift_origin(xshift="10c", yshift="10c")

Are you willing to help implement and maintain this feature? Yes

@leouieda
Copy link
Member

Sorry, forgot about this and opened #267. Will close this one but keep a reference there.

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

No branches or pull requests

2 participants