Ticket #11036 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Create a better plot widget for custom interfaces

Reported by: Dan Nixon Owned by: Dan Nixon
Priority: major Milestone: Release 3.4
Component: GUI Keywords:
Cc: Blocked By:
Blocking: #10579, #10580, #11072 Tester: Harry Jeffery

Description (last modified by Dan Nixon) (diff)

This should allow switching between linear and logarithmic axis for both X and Y, and x 2 for the X axis.

Support pan and zoom tools and take a matrix workspace pointer and histogram index to plot.

Options for view tools and axis types should be in a context menu.

Possibly also a legend with an option to toggle it on and off from the context menu, labels are given when the spectra is added.

Change History

comment:1 Changed 6 years ago by Dan Nixon

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Dan Nixon

  • Description modified (diff)

comment:3 Changed 6 years ago by Dan Nixon

  • Status changed from assigned to inprogress

Initial work on prevew plot widget

Refs #11036

Changeset: 370128b1caea837d9199f3e3ed52c3c54160d334

comment:4 Changed 6 years ago by Dan Nixon

Ability to add spectra to plot

Refs #11036

Changeset: 96e714ebf02559d549ddeb770958560d3bc1f1a2

comment:5 Changed 6 years ago by Dan Nixon

Improve the way scales are handled

Refs #11036

Changeset: 3ce646364f37aaa9f5502a5420386a9e0c2dca3e

comment:6 Changed 6 years ago by Dan Nixon

Added pan, zoom and magnify tools to plots

Refs #11036

Changeset: 9190c787a17a672de332fa4fb53c3c65f5e635c3

comment:7 Changed 6 years ago by Dan Nixon

Add more plots on indirect custom interfaces

Refs #11036

Changeset: 89c98f89c7d4fda01ba98345e69980d280cb681c

comment:8 Changed 6 years ago by Dan Nixon

Allow a RangeSelector to take a PreviewPlot in constructor

Refs #11036

Changeset: d51b321eaa9f75e9efa2b830f179d3581ebb9bfc

comment:9 Changed 6 years ago by Dan Nixon

  • Description modified (diff)

comment:10 Changed 6 years ago by Dan Nixon

Added ability to switch axis types

Still need to do a scale engine for x2 scale

Refs #11036

Changeset: e004ccafebdc9f278f7243bff0486ae8e9c33f52

comment:11 Changed 6 years ago by Dan Nixon

Use new widget in transmission and symmetrise

Refs #11036

Changeset: 4a774d32b09069bdef8ebefccabe9aab1c89eaec

comment:12 Changed 6 years ago by Dan Nixon

Use new widget on calibration

Refs #11036

Changeset: 038ff6eae51fde219e9f5a57e7adc2f28fd68b2e

comment:13 Changed 6 years ago by Dan Nixon

Remove options for disabling plot manipulation tools

Refs #11036

Changeset: 615d9fe6c63edbdb0cfeab3d703935591dec2c8e

comment:14 Changed 6 years ago by Dan Nixon

Added curve labels for preview plot

Refs #11036

Changeset: bf190f831ad51c42b9e611431c5d82adf69c5667

comment:15 Changed 6 years ago by Dan Nixon

Fix multiple plot legend labels being created

Refs #11036

Changeset: 03af92a15195a40533f39bb48454d82b3c8f47ae

comment:16 Changed 6 years ago by Dan Nixon

Handle WS updates from ADS

Refs #11036

Changeset: 01575f7b2cfec2436a6d40b9bcbd59cd90e9621e

comment:17 Changed 6 years ago by Dan Nixon

Support setting X Squared axis

Refs #11036

Changeset: 9e49fff7ccf91994f80683c3072aef65c99367e9

comment:18 Changed 6 years ago by Dan Nixon

  • Blocking 10580 added

(In #10580) For now this is just going to deal with the plots inside the interface its self and is something I have done in #11036.

comment:19 Changed 6 years ago by Dan Nixon

Move preview plot layout to UI file

Seems to fix issues with legend labels moving when window is resized.

Refs #11036

Changeset: 1c087677e65118c3e1a397a86396dcb746a234e1

comment:20 Changed 6 years ago by Dan Nixon

Still to do:

  • Replace Bayes widgets
  • Replace IDA widgets

comment:21 Changed 6 years ago by Dan Nixon

Replace plots on MSD fit and corrections

Allow removal of a curve by legend name

Refs #11036

Changeset: 043325d925888cd5a967e1050a4acfb1a890bd66

comment:22 Changed 6 years ago by Dan Nixon

Added new MSD and Fury plots

Refs #11036

Changeset: e1f908eecd73c4a9589ffaff8e0ecebe5877fa5e

comment:23 Changed 6 years ago by Dan Nixon

Key curves by legend name, use on JumpFit

Refs #11036

Changeset: 1a36b232e1d7fa13642a388baf0a8d65b4c4f496

comment:24 Changed 6 years ago by Dan Nixon

Implement new plot widget on bayes interfaces

Refs #11036

Changeset: 2a9667a336d6511d163267fe5cc3b78972026c4c

comment:25 Changed 6 years ago by Dan Nixon

Merge branch 'master' into feature/11036_better_custom_interface_plot_widget

Refs #11036

Changeset: a20c3b36cdb1f366b256dfe70eda3622e8849ff1

comment:26 Changed 6 years ago by Dan Nixon

Fix issue with labls updating

Refs #11036

Changeset: 27f414fbc773bfd8170b12d646f0971c72a8236e

comment:27 Changed 6 years ago by Dan Nixon

Make guess curves in fitting interfaces use workspaces

Refs #11036

Changeset: 0d34503f23d55f4fae4c30f9f699738f44b14a38

comment:28 Changed 6 years ago by Dan Nixon

Add new plot widget to fury fit

Refs #11036

Changeset: f5248b398624821e21b6ab3187419711e90873f9

comment:29 Changed 6 years ago by Dan Nixon

Correct issues with guess on conv fit

Refs #11036

Changeset: 8a1b874cba45e802e82c9ac727dbe9a1f9fa3b87

comment:30 Changed 6 years ago by Dan Nixon

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

This is being verified as pull request #215.

comment:31 Changed 6 years ago by Dan Nixon

Merge branch 'master' into feature/11036_better_custom_interface_plot_widget

Conflicts:

Code/Mantid/MantidQt/CustomInterfaces/src/Indirect/IndirectTransmission.cpp

Refs #11036

Changeset: d5f53c354997a1e475b163be6fad2c93484e5438

comment:32 Changed 6 years ago by Dan Nixon

There is now a lot of unused code in IndirectTab that should be removed first.

comment:33 Changed 6 years ago by Dan Nixon

Remove unused code from IndirectTab

Also prefer QPair over std::pair in UI stuff

Refs #11036

Changeset: 5b18086a008ab603d09ed488df68fe36770ecf52

comment:34 Changed 6 years ago by Dan Nixon

Jenkins, retest this please.

comment:35 Changed 6 years ago by Dan Nixon

Merge branch 'master' into feature/11036_better_custom_interface_plot_widget

Conflicts:

Code/Mantid/MantidQt/MantidWidgets/CMakeLists.txt

Refs #11036

Changeset: 95da9ec214a16f3e8240acfe2927741270cdd8af

comment:36 Changed 6 years ago by Dan Nixon

  • Blocking 11072 added

(In #11072) Could use this plot widget here.

comment:37 Changed 6 years ago by Harry Jeffery

  • Status changed from verify to verifying
  • Tester set to Harry Jeffery

comment:38 Changed 6 years ago by Harry Jeffery

  • Status changed from verifying to closed

Merge pull request #215 from mantidproject/feature/11036_better_custom_interface_plot_widget

Better custom interface plot widget

Full changeset: 4f3e6d36e77247e9b88f0a6b849e38ac2b3dcf9e

comment:39 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11875

Note: See TracTickets for help on using tickets.