Skip to content

Contour3issues ratio aspect camera eye #351

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

Merged
merged 3 commits into from
Aug 23, 2021

Conversation

gilbertogalvis
Copy link
Contributor

This PR fix issues with using contour3. Specifically regarding AspectRatio and CameraEye on the plotly figure. Two new optional parameters are proposed for this:

  • AspectRatio
  • CameraEye

Those parameter can be passed when we invoke fig2plotly, but they can set by default as well

Screen Shot 2021-08-19 at 10 57 34 AM

Screen Shot 2021-08-19 at 11 40 46 AM

@danton267
Copy link
Member

This works for all contour3 MATLAB online documentation examples, except for

[X,Y] = meshgrid(-5:0.25:5);
Z = X.^2 + Y.^2;
contour3(Z);

@gilbertogalvis gilbertogalvis merged commit 6dc5868 into master Aug 23, 2021
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 this pull request may close these issues.

3 participants