Ticket #589 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

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

Screenshot.png (199.0 KB) - added by Martyn Gigg 11 years ago.

Change History

Changed 11 years ago by Martyn Gigg

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:3 Changed 11 years ago by Nick Draper

  • Owner set to Sofia Antony

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.

comment:5 Changed 11 years ago by Nick Draper

  • Priority changed from major to critical

comment:6 Changed 11 years ago by Sofia Antony

(In [2598]) re #589,re #621, re #667

comment:7 Changed 11 years ago by Sofia Antony

  • Status changed from new to closed
  • Resolution set to fixed

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1437

Note: See TracTickets for help on using tickets.