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

Two significance lines for two y-values for one x-values #9

Open
DanielStrahnen opened this issue Jun 1, 2019 · 3 comments
Open

Two significance lines for two y-values for one x-values #9

DanielStrahnen opened this issue Jun 1, 2019 · 3 comments

Comments

@DanielStrahnen
Copy link

Since I have two graphs and hence two y-values corresponding to one x-value I can't use your function to display two significane lines between two points with the same x-value.
Do you have any advice on how to solve this?

@raacampbell
Copy link
Owner

It's hard to advise without knowing what your plot looks like, but does the bottom middle plot in demo_sigstar help? The other (related) alternative is that you assign different x values but then use the axis XTick and XTickLabel properties to make the plot look as you expect.

@DanielStrahnen
Copy link
Author

untitled

The plot looks like and I want to make a significance line for both graphs! And thanks for the quick reply!

@raacampbell
Copy link
Owner

I'd just offset them so they don't overlap. It will make easier to read the graph and you can add the significance stars as normal. Manually set the XTick and XTickLabels (there are examples on-line if you search, I'm sure). Other option is to just not add the significance lines and stars as for a plot like this it would become rather busy. In fact, that would be what I'd do in your position.

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