-
Notifications
You must be signed in to change notification settings - Fork 103
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
Two half violinplot #49
Comments
Ofc! I just called directly to the violin function, skipping the violinplot.
|
Hello, When I try to replicate the above example, I get the following error:
Am I missing something? Best, Michael |
Hi Michael, I was having the same issue. I fixed it. Replace the following 2 lines in Violin.m code: Original line in code: ViolinColor{1} = args.ViolinColor{1}(pos,:); Also, right below it is another instance that you need to replace. These are around Line# 373 in the code. I hope this helps! Thanks, |
Thank you so much for the suggestion! |
@mikelgg93, are you able to explain how one can get the text instead of values, as is shown in the original picture? Using your example code, you get the position that you are explicitly putting down as n (which is 4). Using Violin (not violinplot), I cannot figure out how to use category labels as names for the individual violins and then allow for an offset. Violin's code explicitly requires scalar number inputs for each violin's 'ID'. |
Hi! I might have used For the labels, you can define |
Hi
A short question. Would it be possible to
Would it be possible to tell us how you have managed to do the Italy vs Italy 1.5 of the second example. When I try to produce a violin plot which have different distributions in each half I can not make it so that they are separated.
Thanks!
The text was updated successfully, but these errors were encountered: