-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Rotate 3D axis labels #3077
Comments
We could probably merge #511 with this new ticket. |
good call. I'll close #511. Referencing http://community.plot.ly/t/axes-labels-overlapping-on-3d-surface-plot/859 |
We could probably get away with simply adding |
a |
Rotate axis labels that are longer than 4 characters in 3D scenes (issue #3077)
Hi there! Is this now possible? ie. to make long axis titles lie parallel to the axes in 3d plots? It seems something has been developed, but I can't see how to implement in plotly (I'm also using plot_ly in R)? |
@MeganBeckett |
Long axis titles on 3D scenes overlap the tick labels and data, because they're simply centered on a point outside the axis and not rotated:
Our test images don't include a lot of long 3d titles, but you can see this effect a little bit in gl3d_world-cals
Feels like the easiest solution - which is also consistent with our 2D axis titles - would be to rotate these labels parallel to the axis. But potentially 1-letter titles ("X" etc) should remain unrotated?
The degree of overlap also depends on the viewpoint, so the logic for where to put this relative to the axis line and tick labels probably needs a bit of adjustment:
The text was updated successfully, but these errors were encountered: