Back to templates

Matplotlib 折线图

General

经典折线图,适合展示单个或多个数据组的趋势变化。

Publisher: Xiao
Published: 2026/6/3
ID: 75
Usage: 0·Views: 0·Favorites: 0
PYTHONmatplotlib

Parameters (5)

  • Width (Default: 8)
  • Height (Default: 6)
  • DPI (Default: 300)
  • Show grid (Default: true)
  • Chart title (Default: Line Plot)
Create from this template

Template Inheritance

Parent:None
Children:None

Data Format Requirements

Required Columns

  • TimeTextRequired
  • ATextRequired
  • BTextRequired
Row Constraints: At least 3 rows

Example Data

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

Time,A,B
9.6,0.63,
3.5,0.32,
8.6,0.19,
6.8,-0.26,
7.2,-0.91,-0.91
4.7,1.7,1.7
6.8,-1.27,-1.27
8.2,1.96,1.96
8.7,-1.2,-1.2
7.5,0.34,0.34
7.4,-0.91,-0.91
8.3,-0.22,-0.22
3.7,0.32,0.32
3.5,0.83,0.83
7.7,-1.69,-1.69
Chart Preview
Matplotlib 折线图

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.