Ticket #4504 (closed: fixed)
LineViewer: choose which X coordinate to plot.
Reported by: | Janik Zikovsky | Owned by: | Janik Zikovsky |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | saviciat@…, scu@… | Blocked By: | |
Blocking: | Tester: | Stuart Campbell |
Description
Currently, the LineViewer shows the "X" as the distance between the start of the line. Andrei tells me that users will expect the coordinate to be those of the original workspace, e.g. Energy.
- Add an option (radio buttons) to choose between:
- X-axis of slice viewer (default?)
- Y-axis of slice viewer
- From start of line
- Use the coordinate transformation from histo to WS to go back to the original coordinates.
- Watch out for degenerate cases, e.g. draw a vertical line and try to plot against X.
Change History
comment:3 Changed 9 years ago by Janik Zikovsky
Refs #4504: LineViewer choice of what to plot as X axis
Either the X of the original workspace, or the Y, or the distance in XY, or auto choose (default).
Changeset: a5cc7897fb66fdae17efa0dd96181d37ceb2c3bb
comment:4 Changed 9 years ago by Janik Zikovsky
Refs #4504 update buttons if setting via python
Changeset: eadd04b9b9052d1e68193f7dbba54599718539d6
comment:5 Changed 9 years ago by Janik Zikovsky
- Status changed from accepted to verify
- Resolution set to fixed
comment:6 Changed 9 years ago by Stuart Campbell
- Status changed from verify to verifying
- Tester set to Stuart Campbell
comment:7 Changed 9 years ago by Janik Zikovsky
- Status changed from verifying to reopened
- Resolution fixed deleted
comment:8 Changed 9 years ago by Stuart Campbell
It would be nice to be able to use these axis selections in the workspaces in MantidPlot, created ticket #4509 for this.
comment:10 Changed 9 years ago by Janik Zikovsky
- Status changed from accepted to verify
- Resolution set to fixed
I'm resolving this as fixed with this caveat: if you are looking at a MDHistoWS binned from a MDEventWorkspace, the order of the dimensions must be unchanged. Ticket #4511 created to deal with reordered dimensions.
comment:11 Changed 9 years ago by Janik Zikovsky
Refs #4504, Refs #4511: code demonstrating the bug in #4511
Changeset: c174d18c9902356364487798137f04f435e1a157
comment:13 Changed 9 years ago by Stuart Campbell
Seems to work - given the above caveat.
comment:15 Changed 9 years ago by Janik Zikovsky
Refs #4504: LineViewer choice of what to plot as X axis
Either the X of the original workspace, or the Y, or the distance in XY, or auto choose (default).
Changeset: a5cc7897fb66fdae17efa0dd96181d37ceb2c3bb
comment:16 Changed 9 years ago by Janik Zikovsky
Refs #4504 update buttons if setting via python
Changeset: eadd04b9b9052d1e68193f7dbba54599718539d6
comment:17 Changed 9 years ago by Janik Zikovsky
Refs #4504, Refs #4511: code demonstrating the bug in #4511
Changeset: c174d18c9902356364487798137f04f435e1a157
comment:18 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5351