Back to templates

Matplotlib DualYAxis chart

Members OnlyEnvironmental 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

Sample Data

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

x,y1,y2
1,20,60
2,22,58
3,25,55
4,23,62
5,26,50
Chart Preview

Preparing environment, please wait…

How to Use

1.Choose Template

Search by keywords or AI search to find templates that meet your needs, or upload literature to extract templates in one click.

2.Preview Example

View example data to ensure data format matches template requirements, or ask AI to adjust/modify templates to fit your data format.

3.Upload Data

Upload your data file, run the template, and preview the results.

4.Export Chart

Adjust parameters, modify code, or let AI help you modify templates and charts, then export in PNG / JPG / SVG / PDF formats.