Skip to content

Fix contour functions for ssim baselines matlab contour plots #353

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

Conversation

gilbertogalvis
Copy link
Contributor

This PR fix almost all issues for contour functions tested in https://github.com/plotly/ssim_baselines/tree/main/matlab/contour-plots

NOTE:
To work with contour3 is necessary to set TreatAs Plotly Option parameter to contour3. Example

[X,Y,Z] = sphere(50);
contour3(X,Y,Z);

f = fig2plotly(gcf, 'offline', 0, 'TreatAs', 'contour3'); 

@VolKa79
Copy link

VolKa79 commented Aug 22, 2021

Good.
Works for
[X,Y] = meshgrid(-5:0.25:5);
Z = X.^2 + Y.^2;
contour3(Z)
iscont3
as well as for others cases in
https://www.mathworks.com/help/matlab/ref/contour3.html

@gilbertogalvis gilbertogalvis merged commit 00077ff 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