Ticket #1238 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Improvements to plotting: displaying distributions and errorbars

Reported by: Steve Williams Owned by: Martyn Gigg
Priority: major Milestone: Release 3.4
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Dan Nixon

Description (last modified by Nick Draper) (diff)

Allow plots to show raw count data as distributions, add defaults for this displaying errorbars.

  • Add units to the matrix view tabs
    • decide what to do with large unit names and implement
    • test
  • create plot as distribution functionality
    • convert existing plots to distribution view
    • update the scale and axis legends
    • all future drawing to the plot to be distribution
    • create an is_equally spaced bin? helper function
    • create and test rules for displaying as distribution
  • add menu items
    • right click menu items on plots
    • preferences in the view->preferences
  • when adding data to an existing plot, make it have the same defaults
    • inherit the errorbar display setting
    • inherit distribution/non-distribution view
  • document distribution view
    • MantidPlot:_Help
    • Python help

Change History

comment:1 Changed 10 years ago by Nick Draper

  • Status changed from new to assigned
  • Priority changed from minor to critical
  • Component set to Mantid
  • Owner changed from Steve Williams to Roman Tolchenov
  • Milestone changed from Unassigned to Iteration 28

comment:2 Changed 9 years ago by Roman Tolchenov

  • Priority changed from critical to major

comment:3 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 28 to Iteration 29

Bulk move of tickets at the end of iteration 28

comment:4 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 29 to Iteration 30

Accepted and assigned tickets moved at iteration 29 code freeze

comment:5 Changed 9 years ago by Roman Tolchenov

  • Status changed from assigned to accepted

comment:6 Changed 9 years ago by Roman Tolchenov

In [13142]:

Added the distribution plotting option to MantidCurve. re #1238

comment:7 Changed 9 years ago by Mathieu Doucet

In [13149]:

Cleared warning. Re #1238

comment:8 Changed 9 years ago by Mathieu Doucet

In [13155]:

Repaired what I broke. Re #1238

comment:9 Changed 9 years ago by Mathieu Doucet

Bug: create a WorkspaceSingleValue, right click on the workspace name in the list and pick plot as a distribution... You'll get an error pop up.

comment:10 Changed 9 years ago by Russell Taylor

Do we really want to keep creating new items on the workspace list context menu? How long will it get eventually? Wouldn't it be better to make it a right-click toggle option on the curve itself, combined with a preference for what you get as a default?

comment:11 Changed 9 years ago by Roman Tolchenov

In [13175]:

Disabled distribution plots because I switched to a different ticket. re #1238

comment:12 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:13 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 32 to Iteration 33

Moved to iteration 33 at iteration 32 code freeze

comment:14 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.1 to Release 2.2

Moved at end of release 2.1

comment:15 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

comment:16 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

moved to Release 2.4

comment:17 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.4 to Release 2.5

Moved at the code freeze for release 2.4

comment:18 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:19 Changed 7 years ago by Nick Draper

  • Status changed from accepted to assigned

comment:20 Changed 7 years ago by Nick Draper

  • Status changed from assigned to new

comment:21 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:22 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to backlog at the code freeze for R2.6

comment:23 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

Bulk move to assigned at the introduction of the triage step

comment:24 Changed 6 years ago by Nick Draper

  • Owner changed from Roman Tolchenov to Martyn Gigg
  • Description modified (diff)

reassigned to Martyn as part of the plotting improvement work, may well be considered as a duplicate to other tickets there.

comment:25 Changed 6 years ago by Martyn Gigg

  • Status changed from assigned to verify
  • Resolution set to invalid

This is actually all done. The distribution plotting was the last piece of the puzzle and that went in during 3.3.

comment:26 Changed 6 years ago by Dan Nixon

  • Status changed from verify to verifying
  • Tester set to Dan Nixon

comment:27 Changed 6 years ago by Dan Nixon

  • Status changed from verifying to closed

comment:28 Changed 6 years ago by Nick Draper

  • Milestone changed from Backlog to Release 3.4

moved to r 3.4 as tickets are closed

comment:29 Changed 5 years ago by Nick Draper

  • Resolution changed from invalid to fixed

Somehow these slipped through without a resolution. Set to Fixed.

comment:30 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2085

Note: See TracTickets for help on using tickets.