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

Scatter plot tick labels too large for bbob and bbob-largescale data? #1934

Closed
brockho opened this issue Jan 11, 2020 · 6 comments
Closed

Scatter plot tick labels too large for bbob and bbob-largescale data? #1934

brockho opened this issue Jan 11, 2020 · 6 comments

Comments

@brockho
Copy link
Contributor

brockho commented Jan 11, 2020

I thought that the axis labels in our scatter plots show the exponent of the log10(#f-evals), however, when comparing for example BIPOP-CMA-ES (on bbob) with LBFGS (on bbob-largescale), the scatter plots show for some functions surprisingly high values on the axes:

image

Is this to be considered a bug or are these values really that high (I imagine it is the former)? It almost looks to me as if the dimensions (from 2 to 640) play a role here for the axes labels, but that would be even weirder.

@nikohansen
Copy link
Contributor

nikohansen commented Jan 11, 2020

This doesn't look like the scatter plots that I have in mind. The above plot looks like generated with loglog(data), while the original scatter plots are generated like plot(log10(data)) and use log10(data) as tick annotations.

@nikohansen
Copy link
Contributor

nikohansen commented Jan 11, 2020

OK, I think the problem is that we see the automatically generated minor ticks, because the overall scale of the data is small. Disabling minor ticks should be a quick fix.

@brockho
Copy link
Contributor Author

brockho commented May 5, 2020

Just checked, the problem still appears in the current version (development branch):
image

@nikohansen
Copy link
Contributor

    l = matplotlib.ticker.FixedLocator([])
    gca().xaxis.set_minor_locator(l)

@nikohansen
Copy link
Contributor

nikohansen commented May 5, 2020

We added a marker at log10(0, 0) (by adding a target) and set the lower axis limit to be at least log10(0, 0), which fixes both problem.

@brockho
Copy link
Contributor Author

brockho commented May 5, 2020

Actually, the current version has the marker at (2,2) but nevertheless, the issue can be closed. Note that a new issue to adapt the LaTeX templates---if needed---has been added (#1962).

@brockho brockho closed this as completed May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants