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

[boxPlot] equal values are not given random x-offset in scatter #14

Open
PauluzzS opened this issue Jan 2, 2020 · 0 comments · May be fixed by #15
Open

[boxPlot] equal values are not given random x-offset in scatter #14

PauluzzS opened this issue Jan 2, 2020 · 0 comments · May be fixed by #15

Comments

@PauluzzS
Copy link

PauluzzS commented Jan 2, 2020

The showScatter option should create a scatter plot of the underlying data for each box overlayed on the plot. The data should have a random x-axis offset with respect to the box centre. However, all data points with value 0 do not get such a random offset, or all get the same offset.
In any case they look like a single dot.

PauluzzS added a commit to PauluzzS/MatlabToolbox that referenced this issue Jan 3, 2020
When kernelDensity interpolation fails, it is because all values in y are the same. In such cases, it is desired to have maximum possible horizontal spread of samples in the scatter (as it would have if all but one value in y are the same, or values in y are close together). Thus, maxDisplacement should be 1, not 0, in the catch clause.

Fixes IoSR-Surrey#14
@PauluzzS PauluzzS linked a pull request Jan 3, 2020 that will close this issue
@PauluzzS PauluzzS changed the title [boxPlot] 0 values are not given random x-offset in scatter [boxPlot] equal values are not given random x-offset in scatter Jan 4, 2020
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

Successfully merging a pull request may close this issue.

1 participant