Skip to content

docs - quiver3 subplots #430

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

Closed
danton267 opened this issue Oct 21, 2021 · 1 comment
Closed

docs - quiver3 subplots #430

danton267 opened this issue Oct 21, 2021 · 1 comment

Comments

@danton267
Copy link
Member

[X,Y] = meshgrid(-2:0.25:0,-2:0.25:0);
Z1 = -0.5*(X.^2 + Y.^2);
[U1,V1,W1] = surfnorm(Z1);
Z2 = -X.*Y;
[U2,V2,W2] = surfnorm(Z2);

tiledlayout(1,2)

% Left plot
ax1 = nexttile;
quiver3(ax1,X,Y,Z1,U1,V1,W1)
axis equal
title(ax1,'Left Plot')

% Right plot
ax2 = nexttile;
quiver3(ax2,X,Y,Z2,U2,V2,W2)
axis equal
title(ax2,'Right Plot')

fig2plotly(gcf);

right plots does not work

@gilbertogalvis
Copy link
Contributor

This issue was fixed by PR #433

gilbertogalvis added a commit that referenced this issue Oct 22, 2021
…r3_works_for_any_case

fix issue #430 and make sure quiver3 works for any case
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

No branches or pull requests

2 participants