← All tutorials

Visualization · Practical guide

Scatter & line plots

Explore model performance, trait relationships, seasonal patterns, and uncertainty with research plotting examples.

PythonMatplotlibSeaborn
Start learning
Example output · Click to enlarge
What you’ll learn
  • Show observation–prediction agreement and point density.
  • Compare trait distributions and relationships.
  • Visualize seasonal changes, groups, and model performance.
Before you begin Plotting experience
  • NumPy, pandas, SciPy, Matplotlib, and Seaborn.
  • Research examples require their project-specific CSV or MATLAB inputs.
  • Replace data and export paths. The input datasets are not bundled here.
01

Prediction–observation scatter

Compare random and temporal cross-validation using density-colored points, a 1:1 line, uncertainty bars, and model metrics.

Trait prediction under random and temporal cross-validation · Click to enlarge
02

Trait covariance

Use a pair plot to compare trait distributions and relationships across plant functional types.

Covariance of plant traits across functional types · Click to enlarge
03

Density scatter comparisons

Combine multiple inputs in a panel layout and show the concentration of observations using a density-based color scale.

Density scatter comparisons · Click to enlarge
04

Seasonal variation

Plot repeated trait observations through time and keep colors, labels, and date formatting consistent across panels.

Seasonal variation of plant traits · Click to enlarge
05

Functional-type extrapolation

Compare measurements and predictions across plant functional types with shared plotting settings.

Plant functional-type extrapolation · Click to enlarge
06

Trait variability

Combine grouped comparisons into a multipanel figure to summarize variation across traits and plant groups.

Variation in leaf traits · Click to enlarge
07

Model comparisons

Arrange model evaluation results in a consistent figure and keep labels, statistical annotations, and panel spacing readable.

Model comparison figure · Click to enlarge

Keep exploring

Seaborn plotting functions Matplotlib tutorials
Download all examples