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

Easiest way to limit clabel to current axis #4336

Closed
ocehugo opened this issue Apr 15, 2015 · 3 comments
Closed

Easiest way to limit clabel to current axis #4336

ocehugo opened this issue Apr 15, 2015 · 3 comments

Comments

@ocehugo
Copy link

ocehugo commented Apr 15, 2015

Hello devs,

can anyone point me out if there is an easy way to limit clabel ticks to only show up in the current axis!? Maybe something alike clabel(cs,axislimit=myaxislimit) ?

Say that you have a large contour, you zoom/axis over an area and want only that area to be clabeled based on your spacing settings...there is any easy way to do this ( except by subsetting your hole dataset!?)

If not, the way to do it is to search in cs.collections the path segmetns that lies inside my current axis and subset them and label them accordingly!? Any snipet around!?

cheers

@tacaswell
Copy link
Member

This question is probably best handled by the mailing list (http://sourceforge.net/p/matplotlib/mailman/ to subscribe) You will have to subscribe to post with out moderation.

@ocehugo
Copy link
Author

ocehugo commented Apr 16, 2015

sorry about that...

@tacaswell
Copy link
Member

@ocehugo No worries! More people will see your question on the mailing list which should get you a better answer.

Sorry my last message was terse.

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