Skip to content

spec: add quiver-basic specification#1026

Merged
github-actions[bot] merged 1 commit intomainfrom
specification/quiver-basic
Dec 15, 2025
Merged

spec: add quiver-basic specification#1026
github-actions[bot] merged 1 commit intomainfrom
specification/quiver-basic

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

New Specification: quiver-basic

Closes #1014


specification.md

quiver-basic: Basic Quiver Plot

Description

A quiver plot displays vector fields using arrows positioned at grid points. Each arrow represents a vector at that location, with direction indicating the vector's angle and length proportional to its magnitude. This visualization reveals flow patterns, gradients, and field structure in two-dimensional data.

Applications

  • Visualizing wind patterns or ocean currents in meteorology and oceanography
  • Displaying electromagnetic field lines in physics simulations
  • Showing gradient descent directions in optimization landscapes
  • Illustrating fluid flow patterns in computational fluid dynamics

Data

  • x (numeric array) - X-coordinates of arrow positions on a grid
  • y (numeric array) - Y-coordinates of arrow positions on a grid
  • u (numeric array) - Horizontal component (dx) of each vector
  • v (numeric array) - Vertical component (dy) of each vector
  • Size: Typically 10x10 to 20x20 grid (100-400 arrows) for visual clarity
  • Example: A 2D flow field such as u = -y, v = x creates a circular rotation pattern

Notes

  • Arrow spacing should be uniform and sufficient to prevent overlap
  • Arrow length should be scaled appropriately so vectors are distinguishable
  • Consider using a simple mathematical function (like rotation or gradient) to generate sample data
  • Optional: color can encode magnitude for additional insight

Next: Add approved label to the issue to merge this PR.


🤖 spec-create workflow

@MarkusNeusinger MarkusNeusinger added the approved Approved for implementation label Dec 15, 2025
@github-actions github-actions Bot merged commit de07fab into main Dec 15, 2025
5 checks passed
@github-actions github-actions Bot deleted the specification/quiver-basic branch December 15, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Approved for implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[quiver-basic] Basic Quiver Plot (Vector Field)

1 participant