Ticket #2654 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Add stem plots from qtiplot

Reported by: Nick Draper Owned by: Russell Taylor
Priority: major Milestone: Release 2.0
Component: MantidPlot Keywords:
Cc: Blocked By: #4341
Blocking: Tester: Janik Zikovsky

Description (last modified by Russell Taylor) (diff)

Include the ability to use them from the GUI and python

reference: http://soft.proindependent.com/doc/manual-en/x6311.html#Python-Stem-and-Leaf-Plot

Change History

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

  • Milestone changed from Iteration 29 to Iteration 30

"New" tickets moved at the code freeze of iteration 29

comment:3 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:4 Changed 9 years ago by Russell Taylor

  • Description modified (diff)

comment:5 Changed 9 years ago by Russell Taylor

  • Status changed from new to accepted

comment:6 Changed 9 years ago by Russell Taylor

Backport stem-and-leaf plot type from today's QtiPlot. Re #2654.

Only accessible from Python at the moment because otherwise the output is stored in a 'Note', and if we want to do that we should first disentangle them from the scripting environment and just make them a QTextEdit. (QtiPlot's scripting takes place in Notes, but ours doesn't).

Changeset: b49f40efeb53505cb74ae7313c6ba5f774cf0f80

comment:7 Changed 9 years ago by Russell Taylor

Windows ambiguity fix. Re #2654.

Changeset: 6ea2d36ff7a8c5066dc2fbb6a2478720da235436

comment:8 Changed 9 years ago by Russell Taylor

  • Blocked By 4341 added

comment:9 Changed 9 years ago by Russell Taylor

Revert "Remove python access to QtiPlot's 'Note'. Re #4335."

I've updated Note to be simpler and need it to complete the port of stem plots. Re #4341 & #2654.

This reverts commit f4819ef2cca70b7905c5d1a4ce69158ee8d81842.

Changeset: 49aacc4d97898585b255c1edb50580f06542792a

comment:10 Changed 9 years ago by Russell Taylor

Complete backport of stem plots from today's QtiPlot. Re #2654.

They can now be created from tables via the gui as well. Also added back the MdiSubWindow::print() method to Note. Re #4341.

Changeset: b2a1d269c09ef2f4e542d11de3bf009e3e3506ae

comment:11 Changed 9 years ago by Russell Taylor

Expose MantidUI::createTableFromSpectraList to python.

Gave the method a different name on the python side: workspaceToTable. Also had change the signature to take the workspace name instead of a pointer. This is to facilitate the creation of stem plots from workspace spectra. Re #2654.

Also had a slight tightening of const restrictions.

Changeset: 6cb717ca5cd1a4147327b138f8e043b108b97cf3

comment:12 Changed 9 years ago by Russell Taylor

Creation of a stem plot from a workspace spectrum. Re #2654.

Add a python function that allows a stem-and-leaf plot to be created from either a table or a workspace.

Changeset: 5f4e14d79bab6fe12b20bfca5cd8d94291ab9996

comment:13 Changed 9 years ago by Russell Taylor

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

comment:14 Changed 9 years ago by Janik Zikovsky

  • Status changed from verify to verifying
  • Tester set to Janik Zikovsky

comment:15 Changed 9 years ago by Janik Zikovsky

  • Status changed from verifying to closed

Tested via pointy-clicky and python method, all works. Could use a MantidPlot unit test now that those are possible, though.

comment:16 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3501

Note: See TracTickets for help on using tickets.