-
Notifications
You must be signed in to change notification settings - Fork 359
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
Arcs and Ellipses look like polylines #825
Comments
+1 to this. This effect is obvious and rather undesirable here also, in the |
I had noticed the behaviour as well, and resorted to using tissot, instead, for smooth circles on maps. This does not help if you need ellipses, though. |
This seems to be a problem with how the arcs/ellipses are represented and drawn after a projection. If there is no projection transform the objects appear as expected. This is not simply due to a poor choice of projection threshold. @ResidentMario - The example gallery problem is actually slightly different to the problem here, although it looks the same, it is to do with the projection threshold being too large. |
Came up in https://stackoverflow.com/questions/54192575/matplotlib-circle-patch-does-not-have-smooth-edges. |
Unable to solve this myself, I ended up using the tissot function
<https://matplotlib.org/basemap/api/basemap_api.html#mpl_toolkits.basemap.Basemap.tissot>,
instead, as I only needed circles...
…On Wed, 16 Jan 2019 at 03:28, Phil Elson ***@***.***> wrote:
Came up in
https://stackoverflow.com/questions/54192575/matplotlib-circle-patch-does-not-have-smooth-edges
.
I've been working on a Path interpolator that would allow us to fine-tune
the path as we zoom in (in matplotlib). Might prove to be a really workable
solution for this problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#825 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE253lEL_r5wrEGeY8b3bo4LerqJNZwHks5vDeWZgaJpZM4LIeNV>
.
|
Is there any workaround for ellipses? (I'm using PlateCarree). Thanks |
Hi,
![figure_ellipse](https://cloud.githubusercontent.com/assets/2082258/21033879/2740f368-bdb4-11e6-9a80-0db1efcf3853.jpg)
In Matplotlib, Ellipses (and Ellipses Arcs) are drawn using Bezier splines, as explained here.
When using Cartopy, it looks to me like the projection of these splines is not so nice as with vanilla Matplotlib.
The last test below gives this image:
Thanks!
The text was updated successfully, but these errors were encountered: