Skip to content

2d quiver plots have arrowheads #71

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 6 commits into from
Jul 24, 2015
Merged

2d quiver plots have arrowheads #71

merged 6 commits into from
Jul 24, 2015

Conversation

jnj16180340
Copy link
Contributor

Fixes #69

[x,y] = meshgrid(0:0.2:2,0:0.2:2);
u = cos(x).*y;
v = sin(x).*y;
quiver(x,y,u,v, 'MaxHeadSize',0.3)
fig2plotly()

See https://plot.ly/~jnj.16180340/514/

<b><b></b></b> <script data-plotly="jnj.16180340:514" src="https://plot.ly/embed.js" async></script>

@@ -88,6 +88,45 @@

%-------------------------------------------------------------------------%

%-quiver barbs-%
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice - could you throw this in an if isHG2 block? The arrow heads work on pre-2014b so this might do something strange like double up the arrow head for earlier releases.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

jnj16180340 added a commit that referenced this pull request Jul 24, 2015
…wing-arrows

2d quiver plots have arrowheads
@jnj16180340 jnj16180340 merged commit daa9d66 into plotly:master Jul 24, 2015
@BRONSOLO
Copy link
Member

💃

@jnj16180340 jnj16180340 deleted the bug_2d-quiver-plots-arent-showing-arrows branch July 24, 2015 19:46
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