Skip to content

Conversation

@katyushapolye
Copy link

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.
image

Please let me know what you think.

Similar to other graphing library, a quiver plot is commonly used to plot vector fields.
It currently supports colour mapping for magnitude, normalization of the displayed quivers and custom ranges.
I also added some support functionality for it.
@brenocq brenocq self-requested a review December 21, 2025 06:37
@brenocq brenocq added type:feat New feature or request prio:medium Medium priority status:review The task is under review labels Dec 21, 2025
@brenocq brenocq added this to the v0.18 - ImPlotSpec milestone Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prio:medium Medium priority status:review The task is under review type:feat New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants