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

Add option to use log-scaled axis #82

Open
jvdoorn opened this issue Jun 11, 2024 · 2 comments
Open

Add option to use log-scaled axis #82

jvdoorn opened this issue Jun 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@jvdoorn
Copy link

jvdoorn commented Jun 11, 2024

To visually check in which region a certain model works (par example to compare a 1 / x to a 1 / x**2 regime) it is useful to be able to use a log-scaled axis. Would it be possible to add a checkbox for this (near the x_min and x_max fields in the plot window?) for both the x- and y-axis? This then helps establish in which range you want to fit your model.

@davidfokkema davidfokkema added the enhancement New feature or request label Jun 13, 2024
@davidfokkema
Copy link
Owner

This would indeed be helpful, but the underlying plot library (PyQtGraph) does not behave well when using a log scale. For example, the error bars do not end up in remotely the same location as the data points without any indication why that may be so. I'll need to figure out where exactly it goes wrong and probably file some bug reports against that library. This will likely take some time.

@davidfokkema
Copy link
Owner

You can track log-scale PyQtGraph bugs here: https://github.com/pyqtgraph/pyqtgraph/issues?q=is%3Aissue+is%3Aopen+log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants