Skip to content

Commit 19aa775

Browse files
spec: add contour-filled specification (#2503)
## 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. --- :robot: *[spec-create workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/20585343016)* Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 40d9b98 commit 19aa775

2 files changed

Lines changed: 58 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# contour-filled: Filled Contour Plot
2+
3+
## Description
4+
5+
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.
6+
7+
## Applications
8+
9+
- Creating topographic maps with elevation bands showing terrain height ranges
10+
- Visualizing weather data such as temperature gradients, atmospheric pressure fields, or precipitation intensity
11+
- Displaying probability density estimates and statistical distributions in 2D space
12+
- Rendering mathematical functions to understand their behavior across a domain
13+
14+
## Data
15+
16+
- `x` (numeric) - X-axis coordinates forming a regular grid
17+
- `y` (numeric) - Y-axis coordinates forming a regular grid
18+
- `z` (numeric) - Scalar values at each (x, y) grid point representing the surface
19+
- Size: Grid of 30x30 to 100x100 points for smooth color transitions
20+
- Example: Mathematical function z = f(x, y) evaluated on a meshgrid, such as Gaussian peaks or saddle surfaces
21+
22+
## Notes
23+
24+
- Use a sequential or diverging colormap appropriate for the data range
25+
- Include a colorbar to indicate the value mapping
26+
- Consider overlaying contour lines for precise level identification
27+
- Adjust the number of levels (typically 10-20) for appropriate detail
28+
- Ensure grid resolution is sufficient to avoid jagged color boundaries
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Specification-level metadata for contour-filled
2+
# Auto-synced to PostgreSQL on push to main
3+
4+
spec_id: contour-filled
5+
title: Filled Contour Plot
6+
7+
# Specification tracking
8+
created: 2025-12-29T23:55:20Z
9+
updated: null
10+
issue: 2500
11+
suggested: MarkusNeusinger
12+
13+
# Classification tags (applies to all library implementations)
14+
# See docs/concepts/tagging-system.md for detailed guidelines
15+
tags:
16+
plot_type:
17+
- contour
18+
- heatmap
19+
data_type:
20+
- numeric
21+
- continuous
22+
- spatial
23+
domain:
24+
- general
25+
- science
26+
- engineering
27+
features:
28+
- filled
29+
- gradient
30+
- 2d

0 commit comments

Comments
 (0)