Ticket #3139 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Add waterfall plot type

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: major Milestone: Iteration 29
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: #2659 Tester: Janik Zikovsky

Description

Will mainly be a back-port of what exists in today's qtiplot.

Change History

comment:1 Changed 9 years ago by Russell Taylor

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Russell Taylor

(In [12337]) Add waterfall plots, back-ported from current qtiplot (qtiplot revision 2188). Not hooked up to Mantid curves yet. Add 'lib' directory from current qtiplot structure. Re #3139.

comment:3 Changed 9 years ago by Russell Taylor

(In [12365]) Hold off the warnings police. Re #3139.

comment:4 Changed 9 years ago by Russell Taylor

(In [12419]) Indentation (mostly tabs->spaces) changes only. No code changed. Re #3139.

comment:5 Changed 9 years ago by Russell Taylor

(In [12420]) Switch to using current-day versions of the qtiplot classes found in the lib subdirectory. Re #3139.

comment:6 Changed 9 years ago by Russell Taylor

N.B. When adding in the waterfall plot code, I ignored anything to do with saving/loading the project.

comment:7 Changed 9 years ago by Russell Taylor

(In [12477]) Add missing waterfall parts. Re #3139.

comment:8 Changed 9 years ago by Russell Taylor

(In [12479]) Add missing waterfall parts. Re #3139.

comment:9 Changed 9 years ago by Russell Taylor

(In [12534]) Add ability to create a waterfall plot from a MantidMatrix (right click option if 2 or more spectra are selected). Re #3139.

comment:10 Changed 9 years ago by Russell Taylor

(In [12539]) Fix for waterfall plot not displaying properly on initial creation (needed a resize or other repaint trigger). Re #3139. Changes to MultiLayer.cpp are solely indentation.

comment:11 Changed 9 years ago by Russell Taylor

(In [12544]) Waterfall plots: Fixes for axis scaling to take account of offsets and for legend updating when reversing curve order. Re #3139.

comment:12 Changed 9 years ago by Russell Taylor

See also check-in [12552] erroneously filed under wrong ticket.

comment:13 Changed 9 years ago by Russell Taylor

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

This is done. To generate a waterfall plot, either select 2 or more spectra on a workspace matrix display and choose from the right-click menu (will plot the selected spectra), or choose it from the 'Workspace' item on the main menu bar when a workspace matrix is in focus (will plot all spectra).

You can add, remove and drop curves, run algorithms and see the output change, etc. You can change the curve attributes as with any plot (e.g. add a fill to give a pseudo-3D effect).

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

Looks good in linear binning, except that it does not look right with logarithmic binning, so I made a ticket for that: Refs #3246.

comment:16 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3986

Note: See TracTickets for help on using tickets.