Skip to content

reduce taking time for streamtube function #359

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

Conversation

gilbertogalvis
Copy link
Contributor

This PR reduce time elapsed when fig2plotly works with streamtube matlab function

Set TreatAs Optional parameter to streamtube is needed.

Example code to test:

load wind
[sx,sy,sz] = meshgrid(80,20:10:50,0:5:15);
streamtube(x,y,z,u,v,w,sx,sy,sz);
view(3);
axis tight
shading interp;
camlight; 
lighting gouraud

fig2plotly(gcf(), 'TreatAs', 'streamtube');

@gilbertogalvis gilbertogalvis merged commit 8e0cb5c into master Aug 27, 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.

2 participants