-
Notifications
You must be signed in to change notification settings - Fork 51
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
problem with log10 axis ticks formatting and legend overflow #846
Comments
Hi, you can correct ticks by defining desired scale 'breaks' manually:
The legend overflow situation is more concerning. Could you add the following theme settings to your plot:
and then describe the result? If you can save plot to a SVG file and attach it to this issue that would help as well. |
This is an issue with our plot layout. It seems we do not handle tick labels overflow correctly (the label "10,000" goes beyond the axis length) which results in a partially trimmed legend. As a workaround you can |
Thank you for your suggestions. I just wanted to point out the problems. |
Appreciate it, I've submitted 2 related issues: |
Increasing the plot size from
ggsize(400,300)
toggsize(800,600)
leads to addition of ticks that are not integer powers of 10. As you can see in the second plot it adds ticks for values which corresponds to the 10 to the power of n+0.5.Additionally, when setting manual limits (
xlim()
ylim()
), legend overflows out of the plot which is visible in both plots below.The text was updated successfully, but these errors were encountered: