Back to templates

Matplotlib DualYAxis chart

Environmental Science

DualYAxis chart, Show two groups of data with different units but related, Such as temperature and humidity.

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

Parameters (6)

  • Width (Default: 8)
  • Height (Default: 6)
  • DPI (Default: 300)
  • Left axis color (Default: steelblue)
  • Right axis color (Default: coral)
  • and 1 more parameters...
Create from this template

Template Inheritance

Parent:None
Children:None

Data Format Requirements

Required Columns

  • X(First column)NumericRequired
  • Left axis Y(Second column)NumericRequired
  • Right axis Y(Third column)NumericRequired

Example Data

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

x,y1,y2
9.3,-1.4
5.2,-1.12
9.7,0.56
7.3,1.98
7.5,-1.92
4.8,-1.79
6.7,-0.36
9.2,-1.83
8.9,-1.57
9.8,-0.2
4.1,1.39
6.6,-1.12
7,-1.25
9.2,-0.27
5.5,1.11
Chart Preview
Matplotlib DualYAxis chart

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.