You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Experiment plot loses the data after toggling R(q)q⁴ or log q-axis; Reset view does not bring it back #393
Reported in user testing of v1.6.1 (multiple-contrasts session, 23/11/2026).
The reflectivity plot on the Experiment page (Advanced controls → Plot control) loses the data when the plot transforms are toggled. Two reproductions:
1. R(q)·q⁴
Load Film in three water contrasts and go to Experiment → Advanced controls.
Tick Plot R(q)×q⁴. The axes change (y ≈ −11.6 … −7.3) but no data is drawn.
Also tick Logarithmic q-axis. The data appears.
Untick Logarithmic q-axis. Now R(q)·q⁴ on a linear q-axis draws correctly.
2. Log q-axis
With R(q)·q⁴ off, tick Logarithmic q-axis. The data disappears (y-axis −6.8 … 0.1, x-axis 0.01 … 0.1, empty plot).
The Reset view (home) button does not bring the data back into view.
Expected
Every combination of R(q)·q⁴, linear R axis and log q-axis shows the data right after the checkbox is toggled, and Reset view always fits the axes to the data.
Notes
Looks like the series or axis ranges aren't recomputed (or redrawn) on the first transform change. They only come right after a second change. See the earlier fixes in #376 (x-axis auto-rescale for log-q) and #273 (log q scaling), which this may have regressed. Check whether the Sample and Analysis plots behave the same way, since they share PlotControlCommon.qml.
Activity