Skip to content

Conversation

@Annie-spaces
Copy link

It seems like ymin and ymax have been processed by /d.f0*C twice. I don't think this is intended

@cbassa
Copy link
Owner

cbassa commented Jan 4, 2026

There are two cpgswin calls. The first sets the right-hand vertical axis in units of velocity, while the second sets the left-hand vertical axis in frequency. Because all plotting is done in frequency, that one is actually used for the rest of the program. Hence, that first cpgswin call needs to temporarily convert the frequencies to velocities. So the code behaves as intended. Thanks for looking into this though!

@cbassa cbassa closed this Jan 4, 2026
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