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

Orthographic projection for 3D plots #2611

Closed
emimoun opened this issue May 3, 2018 · 6 comments
Closed

Orthographic projection for 3D plots #2611

emimoun opened this issue May 3, 2018 · 6 comments
Assignees

Comments

@emimoun
Copy link

emimoun commented May 3, 2018

Hello,

I would like to know if 'orthographic' projection could be added as an option to plotly 3D plots.
Indeed, this option is available in Matlab, and in matplotlib since version 2.1.

image

As explained here, such a projection maintains parallelism and distances, and is therefore sometimes better suited when plotting data. For example, a camera looking along the z axis (top view) would directly give you a perfect xy plane projection, which it does not do on Plotly right now,
as can be seen on that example.

@alexcjohnson
Copy link
Collaborator

Seems reasonable - @dy is this just a matter of exposing the fovy option to gl-plot3d and setting it to what, 0, or something sufficiently tiny?

@emimoun
Copy link
Author

emimoun commented May 3, 2018

Actually, I did try it just to see if it would work, and it does for the plot itself, but for some reason the axis labels were then appearing very far from the axes. I did not dig further for the reason why, and maybe I did it wrong, though.

@marcotama
Copy link

I would love to see this feature!

@jonaraphael
Copy link

Please add!

@erickee
Copy link

erickee commented Jan 17, 2019

Can the priority of this be raised? It is a serious issue for reading certain types of technical plots.

@archmoj
Copy link
Contributor

archmoj commented Jan 18, 2019

PR #3331 is related to this.
@etpinard @nicolaskruchten I was wondering if this may possibly be added to the list of items on the road-map? The Volume-3d trace would be displayed nicely with orthographic projection too.

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

6 participants