pydm icon indicating copy to clipboard operation
pydm copied to clipboard

Trace disappears if transform->logY is selected (timePlot and waveformPlot)

Open domitto opened this issue 5 years ago • 2 comments

When I right click on a plot and select plot options -> Transforms -> Log Y the trace disappears. If I do it again but unchecking the option then the trace reappears and the log option is now working. It happened with the timePlot and also with the waveformPlot. I'm using PyDM 1.8.0+38

domitto avatar Feb 08 '20 18:02 domitto

Hi @domitto - sorry for months of radio silence on this. By any chance, are there zeros in your data? We've recently discovered a problem involving PyQtGraph (the library we use for plotting) and NaN/inf values. Since log(0) == -inf, it might be a related problem.

mattgibbs avatar May 11 '20 21:05 mattgibbs

Hi @mattgibbs, I was trying to plot an RGA scan so I'm pretty sure there were some zeros here and there. Thanks for finding it!

domitto avatar May 13 '20 14:05 domitto