Ticket #3668 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Ensure x-axis scaled correctly when plotting unsorted data

Reported by: Anders Markvardsen Owned by: Robert Whitley
Priority: major Milestone: Release 2.0
Component: Mantid Keywords:
Cc: taylorrj@…, petersonpf@… Blocked By:
Blocking: Tester: Peter Parker

Description

Add code to improve when plotting data where the x-axis values are not sorted.

For example if x-values goes as -49,-48,...,1,0,-1,... -48 then the x-axis is currently scaled between -49 to 1. Fix this so that for example in this case the x-axis is scalled between -49 to -48.

Change History

comment:1 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:2 Changed 9 years ago by Robert Whitley

In [15032]:

Refs #3668. The x-axis now scales correctly when plotting unsorted data.

To test this use the CreateWorkspace algorithm and enter -4,-3,-2,-1,0,-1,-2,-3 for the x-axis and any 8 numbers for the y-axis. The graph should plot all x values.

comment:3 Changed 9 years ago by Robert Whitley

  • Status changed from new to accepted

comment:4 Changed 9 years ago by Robert Whitley

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:5 Changed 9 years ago by Peter Parker

  • Status changed from verify to verifying
  • Tester set to Peter Parker

comment:6 Changed 9 years ago by Peter Parker

  • Status changed from verifying to closed

Plotting unsorted data now now results in a properly scaled x axis which shows all values.

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4515

Note: See TracTickets for help on using tickets.