Reputation: 14836
I'm trying to plot my data with the Aitoff Projection using matplotlib
An example is here, but I would like to set xaxis limit and visualize only a portion of the sphere. For instance, what should I use to visualize only latitude between 0 and 90 degrees and longitudes between -90 and 90 degrees?
Upvotes: 1
Views: 3122
Reputation: 21839
The Aitoff projection in matplotlib cannot have its limits changed - they are fixed to a global extent (I think it is because it simplifies axis creation).
Of the other tools available to you, neither Basemap nor Cartopy support the Aitoff projection.
Because its fairly easy to do, I just created an Aitoff projection definition in Cartopy, but things did not work smoothly as proj.4 has not got the inverse Aitoff definition.
I'm afraid that, for now, there doesn't appear to be a good solution to this. I'll continue to look at the possibility of doing this with Cartopy, and let you know if I find anything.
HTH
Upvotes: 3