Skip to content

SweepFormula: Groups multiple x-axis labels #2423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

t-b
Copy link
Collaborator

@t-b t-b commented May 9, 2025

This is an enhancement/fix requested in #2362.

t-b added 9 commits May 9, 2025 19:08
The returned wave is the same as was passed in. Although the current code
makes it clear what is input and what is output, this creates verbose code
as you can't have the same wave as input (RHS) and output (LHS) of an
equation.

So let's drop the returned wave.
And rename them to emphasize the label component as the y data unit is
only the fallback.
In e26f03a (SF: Adapt logic how x-waves are mapped to y-waves,
2022-08-19) we added code to special case x/y wave mapping.

But we don't need to do that if we have single point x and y waves only.
This preserves wave metadata like units.
@t-b t-b assigned t-b and timjarsky and unassigned t-b May 9, 2025
@t-b t-b marked this pull request as ready for review May 9, 2025 17:14
@t-b t-b requested review from timjarsky and MichaelHuth as code owners May 9, 2025 17:14
@t-b t-b mentioned this pull request May 9, 2025
24 tasks
We also now always enclose units in parantheses.
@t-b t-b force-pushed the bugfix/2423-sweepformula-multiple-axis-labels-for-x-axis branch from 86a73e9 to 74a8ffd Compare May 9, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants