llnl / llnl/PyDV

Multiple Y-axis

Open
#190 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
15
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Hi Kevin,

I am basically interested in something like in this attachment:
https://matplotlib.org/3.1.1/gallery/ticks_and_spines/multiple_yaxis_with_spines.html

Forget about the green plot. But let's say I have a timehistory of density (cur 1) and a timehistory of temperature ( cur 2)
Then have the density appear on the left y-axis and the temperature on the right y-axis.

What do you think?
Thanks,
george

Hi Kevin,

I hope all is well.
I was thinking of a feature that would be handy on pydv. Plot curves in a dual y axis but the same x-axis.

cur 1
cur 2
But somehow make the cur 2 y-axis appear on the right of the plot with its own scale.
Is this feature doable to be adde?

Thanks and take care,
George

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Matplotlib multiple-y-axis example and the existing PyDV plotting entry point. Confirm how two curves share one x-axis while curve 2 receives an independently scaled right y-axis; done means both curves render with clearly labeled left and right axes.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.