Skip to content

Conversation

gilbertogalvis
Copy link
Contributor

This PR is to fix the issue #311

Thi issue can be fix by setting the PlotOption plotlyfig called TriangulatePatch to true when we run fig2plotly. Next line please

fig2plotly(gcf, 'offline', false, 'TriangulatePatch', true);

Screen Shot 2021-08-10 at 7 06 24 PM

Screen Shot 2021-08-10 at 7 05 19 PM

Screen Shot 2021-08-10 at 7 05 58 PM

@xarico10
Copy link
Contributor

Still having the same output, even with that call:

load wind
xmin = min(x(:));
xmax = max(x(:));
ymin = min(y(:));
ymax = max(y(:));
zmin = min(z(:));
xrange = linspace(xmin,xmax,8);
yrange = linspace(ymin,ymax,8);
zrange = 3:4:15;
[cx,cy,cz] = meshgrid(xrange,yrange,zrange);
coneplot(x,y,z,u,v,w,cx,cy,cz,5);

fig2plotly(gcf, 'offline', false, 'TriangulatePatch', true);

@gilbertogalvis
Copy link
Contributor Author

Still having the same output, even with that call:

load wind
xmin = min(x(:));
xmax = max(x(:));
ymin = min(y(:));
ymax = max(y(:));
zmin = min(z(:));
xrange = linspace(xmin,xmax,8);
yrange = linspace(ymin,ymax,8);
zrange = 3:4:15;
[cx,cy,cz] = meshgrid(xrange,yrange,zrange);
coneplot(x,y,z,u,v,w,cx,cy,cz,5);

fig2plotly(gcf, 'offline', false, 'TriangulatePatch', true);

Dear @xarico10 are you sure that you update the repo with the changes?

Please make sure plotlyfig.m file have the following lines from line #196

Screen Shot 2021-08-10 at 7 06 24 PM

@xarico10 xarico10 merged commit d24dca0 into master Aug 13, 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.

4 participants