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

Wrap the sky #76

Closed
andersdot opened this issue May 3, 2018 · 2 comments
Closed

Wrap the sky #76

andersdot opened this issue May 3, 2018 · 2 comments

Comments

@andersdot
Copy link

andersdot commented May 3, 2018

Is it possible to wrap the sky, similar to this figure?

wrapsky

@maartenbreddels
Copy link
Member

I was wondering how that should be implemented as well when I saw it.. after some thinking, this should be it:

ds.plot(ds.ra, ds.dec, f='log', limits=[[360, 0], [-90, 90]])
ds.plot(ds.ra+360, ds.dec, f='log', limits=[[360+360, 360], [-90, 90]], colorbar=False)
plt.xlim(360+360, 0) # the last ds.plot sets the xlim, so grow it again

@maartenbreddels
Copy link
Member

I'm assuming this is the proper solution.

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