Skip to content
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

Graph Scales #16

Open
kevinawilson opened this issue Jun 29, 2021 · 1 comment
Open

Graph Scales #16

kevinawilson opened this issue Jun 29, 2021 · 1 comment

Comments

@kevinawilson
Copy link
Contributor

It there a way to set the graph scales for the average spectrum and calibrated spectrum graphs produced by the plot method. I'm doing multiple scans along the galactic plane, and it would be helpful if all the graphs could be plotted at the same scale.

@0xCoto
Copy link
Owner

0xCoto commented Jun 29, 2021

There's no intended/supported way to do this. One thing you could try is to export everything as a CSV and pass the data through your own plotting software with custom axis limits.

Another thing you could perhaps try is to import matplotlib.pyplot as plt and set axN.set_ylim(...) (where N is the subplot index) around virgo.plot(), although I doubt this would work because axN.set_ylim() is part of the plot function in Virgo.

You also have the freedom to edit the source code of virgo.py in your system directly and set the limits manually if that helps.

@kevinawilson kevinawilson mentioned this issue Jul 9, 2021
Merged
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

No branches or pull requests

2 participants