Skip to content

Issue265 fixed #340

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 2 commits into from
Aug 17, 2021
Merged

Issue265 fixed #340

merged 2 commits into from
Aug 17, 2021

Conversation

gilbertogalvis
Copy link
Contributor

This PR fix the issue #265

To test it please use the code

[X,Y] = meshgrid(-3:6/17:3);
XX = 2*X.*Y;
YY = X.^2 - Y.^2;
colorscale = [1:18; 18:-1:1];
C = repmat(colorscale,9,1);
pcolor(XX,YY,C);

fig2plotly(gcf, 'offline', 1, 'TreatAs', 'pcolor');

As you can see it is necessary to set 'TreatAs' Plotly Option to 'pcolor'

results looks as follow

Screen Shot 2021-08-13 at 8 44 38 PM

Screen Shot 2021-08-13 at 8 45 36 PM

@VolKa79
Copy link

VolKa79 commented Aug 14, 2021

is265
Looks good, regardless that default axis titles "x" and "y", but this is the subject of other issue

This was referenced Aug 14, 2021
@gilbertogalvis gilbertogalvis merged commit b02e0e6 into master Aug 17, 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