[pyqtgraph] Re: log(x) axis with negative powers of ten

2018-03-07 Thread Guillaume William Bres
so it turned out the log(x) display was somehow corrupted by my xRange(xMin,xMax) values. My x values range from 0 to 1e7. My actual data ranges from 1e-3 to 1e7. I previously set xRange(1e-9 to 1e7) to avoid log(0) @xMin. In this setup I am no longer getting nicely logarithmically spaced verti

[pyqtgraph] Re: log(x) axis with negative powers of ten

2018-03-07 Thread Guillaume William Bres
so it turned out the log(x) display was somehow corrupted by my xRange(xMin,xMax) values. My x values range from 0 to 1e7 (0 to 10MHz). My actual data ranges from 1e-3 (1mHz) to 1e7 (10MHz). I previously set xRange(1e-9 to 1e7) to avoid log(0) @xMin and so the user can slightly scroll below th

Re: [pyqtgraph] Re: log(x) axis with negative powers of ten

2018-03-07 Thread Luke Campagnola
Can you post a code example? Here's my simple test: >>> import pyqtgraph as pg >>> import numpy as np >>> plt = pg.plot(10.0**np.arange(-3,8), np.arange(-3,8), symbol='o') >>> plt.setLogMode(x=True, y=False) And the output looks correct to me: On Wed, Mar 7, 2018 at 6:09 AM, Guillaume Willia

[pyqtgraph] linearregionitems in log plots are returning unexpected values

2018-03-07 Thread Jeremy Webster
In the plot attached, the