Ticket #589 (closed: fixed)
Bug in MantidPlot when two spectra with different bin boundaries (same no. bins) are plotted together
Reported by: | Martyn Gigg | Owned by: | Sofia Antony |
---|---|---|---|
Priority: | critical | Milestone: | Iteration 18 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
Pascal has found a problem in MantidPlot when trying to plot two spectra that have the same number of bins but different values for the bin boundaries. When trying to plot both on the same graph, a shift appears between the data sets. If however they are plotted on separate graphs, no shift appears.
This is noticeable when each of the spectra has a peak that should line up and they do not when both are plotted on the same graph (see attached file)
Attachments
Change History
comment:1 Changed 11 years ago by Martyn Gigg
- Summary changed from Big in MantidPlot when two spectra with different bin boundaries (same no. bins) are plotted together to Bug in MantidPlot when two spectra with different bin boundaries (same no. bins) are plotted together
comment:2 Changed 11 years ago by Nick Draper
- Milestone changed from Iteration 17 to Iteration 18
Moved as part of iteration end
comment:4 Changed 11 years ago by Nick Draper
This can be shown using the following script.
LoadRaw(Filename="C:/Mantid/Test/Data/GEM40979.raw",OutputWorkspace="GEM40979") AlignDetectors(InputWorkspace="GEM40979",OutputWorkspace="Sample",CalibrationFile="C:/Mantid/Test/Data/offsets_2006_cycle064.cal") DiffractionFocussing(InputWorkspace="Sample",OutputWorkspace="Focused",GroupingFileName="C:/Mantid/Test/Data/offsets_2006_cycle064.cal")
Then try to plot all of the graphs together, and then separately and merge them.