Quiver Plot (Vector Field) Functionality. #663
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, I am quite new on this so i'd appreciate feedback.
I've been using this library for a bit to plot stuff for my fluid simulations, and I've noticed that it doesn't have much support for plotting vector fields. So, I quickly implemented a now plot type very similar to the ones I've used in Python's PyPlot. I tried to maintain the same style and functionality as the other plots, but some parts do appear hacky and I'd like feedback on it.
For now, it basically implements a Quiver Plot, with support to magnitude colour and size scaling, as well as custom ranges. I've already added the plot to the demo file for preview.

Please let me know what you think.