Back to templates

Matplotlib Contour plot

Earth Science

Contour plot, Show 3D surface height distribution on a 2D plane, Suitable for terrain, Temperature field and similar data.

Publisher: OOPLOT
Published: 2026/4/1
ID: 32
Usage: 0·Views: 0·Favorites: 0
PYTHONmatplotlib

Parameters (5)

  • Width (Default: 8)
  • Height (Default: 6)
  • DPI (Default: 300)
  • Contour levels (Default: 10)
  • Chart title (Default: Contour Plot)
Create from this template

Template Inheritance

Parent:None
Children:None

Data Format Requirements

Required Columns

  • X(First column)NumericRequired
  • Y(Second column)NumericRequired
  • Z(Third column)NumericRequired

Example Data

You can directly copy and save as data.csv for upload.

x,y,z
0,0,0.2
0,1,0.2
0,2,0.6
0,3,0.1
0,4,0.4
1,0,4.2
1,1,3.1
1,2,0.1
1,3,-1.8
1,4,-2.9
2,0,5.8
2,1,3.6
2,2,0.2
2,3,-2.8
2,4,-4.9
3,0,4.0
3,1,3.1
3,2,0.7
3,3,-2.4
3,4,-3.1
4,0,-0.3
4,1,0.8
4,2,0.1
4,3,0.4
4,4,0.8
Chart Preview
Matplotlib Contour plot

How to Use

1.Extract/Search/Create Template

Upload images to let AI extract templates in one click, search and select templates, or create templates.

2.View Sample Data

View sample data and manually or via AI modify the data structure to meet template requirements.

3.Upload Data & Run

Upload data, run the template, preview results, and adjust parameters/code to modify the template and chart.

4.Save & Export Chart

Export charts in PNG / JPG / SVG / PDF formats or save to OOPLOT.