Skip to content

spec: add contour-filled specification#2503

Merged
MarkusNeusinger merged 1 commit intomainfrom
specification/contour-filled
Dec 29, 2025
Merged

spec: add contour-filled specification#2503
MarkusNeusinger merged 1 commit intomainfrom
specification/contour-filled

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

New Specification: contour-filled

Related to #2500


specification.md

contour-filled: Filled Contour Plot

Description

A filled contour plot displays colored regions between level curves of a 2D scalar field, creating a smooth gradient visualization of continuous data. Unlike basic contour plots that show only isolines, filled contours use color bands to represent value ranges, making it easier to perceive gradual changes and identify regions of similar magnitude. This visualization is particularly effective for showing how a quantity varies continuously across a 2D surface.

Applications

  • Creating topographic maps with elevation bands showing terrain height ranges
  • Visualizing weather data such as temperature gradients, atmospheric pressure fields, or precipitation intensity
  • Displaying probability density estimates and statistical distributions in 2D space
  • Rendering mathematical functions to understand their behavior across a domain

Data

  • x (numeric) - X-axis coordinates forming a regular grid
  • y (numeric) - Y-axis coordinates forming a regular grid
  • z (numeric) - Scalar values at each (x, y) grid point representing the surface
  • Size: Grid of 30x30 to 100x100 points for smooth color transitions
  • Example: Mathematical function z = f(x, y) evaluated on a meshgrid, such as Gaussian peaks or saddle surfaces

Notes

  • Use a sequential or diverging colormap appropriate for the data range
  • Include a colorbar to indicate the value mapping
  • Consider overlaying contour lines for precise level identification
  • Adjust the number of levels (typically 10-20) for appropriate detail
  • Ensure grid resolution is sufficient to avoid jagged color boundaries

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


🤖 spec-create workflow

@MarkusNeusinger MarkusNeusinger merged commit 19aa775 into main Dec 29, 2025
4 checks passed
@MarkusNeusinger MarkusNeusinger deleted the specification/contour-filled branch December 29, 2025 23:58
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.

1 participant