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

clabel support for manual singleton levels #4412

Closed
ocehugo opened this issue May 7, 2015 · 4 comments
Closed

clabel support for manual singleton levels #4412

ocehugo opened this issue May 7, 2015 · 4 comments

Comments

@ocehugo
Copy link

ocehugo commented May 7, 2015

No description provided.

@ocehugo ocehugo changed the title clabel support for manual singleton levels clabel support for manual singleton positions May 7, 2015
@ocehugo ocehugo changed the title clabel support for manual singleton positions clabel support for manual singleton position May 7, 2015
@ocehugo ocehugo changed the title clabel support for manual singleton position delete me May 7, 2015
@ocehugo
Copy link
Author

ocehugo commented May 7, 2015

I'm trying to do a plot with a unique clabel tick in each line. Currently the clabel manual keyword only accept a tuple iterable and so when requesting a clabel over a line, its required 2 positions.

clabel(cs,[lineval],manual=((10,10),(10,10))

But this command cause the ticks to be too close if linespacing is small. An alternative is

clabel(cs,[lineval],manual=((0,0),(10,10))

but this also creates a undesired tick.

Currently I'm setting the alpha of the second tick to 0.0 so I only got 1 tick showing up, but I believe that clabel should accept one manual single point. ( should be just an if with two and/or comparison instead of generating an error because a single tuple is not iterable).

Sorry about the edits, first i was thinking i was right, them wrong, them right again hehe

@ocehugo ocehugo changed the title delete me clabel support for manual singleton levels May 7, 2015
@tacaswell
Copy link
Member

Does ((10, 10), ) work?

@ocehugo
Copy link
Author

ocehugo commented May 8, 2015

I'm feeling embarrassed now @tacaswell. I was sure in my mind that I did that test, but now it works hehe. thanks again.

@tacaswell
Copy link
Member

No problem. In the future please send questions like this to the mailing
list.

On Thu, May 7, 2015, 20:29 Hugo Oliveira notifications@github.com wrote:

I'm feeling embarrassed now @tacaswell https://github.com/tacaswell. I
was sure in my mind that I did that test, but now it works hehe. thanks
again.


Reply to this email directly or view it on GitHub
#4412 (comment)
.

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