Ticket #4132 (assigned)

Opened 9 years ago

Last modified 5 years ago

Import the curves preferences dialog from QtiPlot

Reported by: Russell Taylor Owned by: Anyone
Priority: minor Milestone: Backlog
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: Tester:

Description (last modified by Russell Taylor) (diff)

It's so much nicer than the one we inherited!

Old description:

It will be a black solid circle.

To see this, set your default curve style to scatter or line+scatter in the preferences and then plot multiple spectra at once (or drag onto an existing graph).

Attachments

qtiplot-curves-dialog.JPG (76.3 KB) - added by Russell Taylor 9 years ago.
The curves preferences dialog from the current QtiPlot version

Change History

comment:1 Changed 9 years ago by Russell Taylor

Add the ability to specify the plot type from the 'plotSpectrum' command.

This refs #2653 (point 2a). The syntax is now: plotSpectrum(workspace,indices,errors,style), where style is a new optional argument that takes the same enumerations as the 'plot' command (see http://www.mantidproject.org/MantidPlot:_1D_Plots_in_Python#Plotting_from_a_Table), though note that only Layer.Line, Layer.Scatter, Layer.LineSymbols & Layer.VerticalSteps are supported (at present) for 'Mantid' curves. Note that there's also an issue with the symbol always being the same (see #4132).

Changeset: 630d606ed174f0e45bd2460939d6000ec18ee693

comment:2 Changed 9 years ago by Roman Tolchenov

Refs #4167, #4132. Set symbol colour same as line colour.

Changeset: 1b810e32a4e299fc1e5911b9613ded60c803b09e

comment:3 Changed 9 years ago by Russell Taylor

  • Priority changed from major to minor

The immediate problem of the symbols being identical has been fixed in #4167 - they are at least now a different colour.

I think the proper way to fix this is to import the curves preferences dialog from today's QtiPlot (see attached) because it is so much nicer than the one we have now. As part of that, the code for setting styles should go out of MantidCurve to a central place.

Changed 9 years ago by Russell Taylor

The curves preferences dialog from the current QtiPlot version

comment:4 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:5 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:6 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

comment:7 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to release 2.4

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

  • Milestone changed from Release 2.5 to Release 2.6

Move the tickets I'm definitely not going to do this iteration so that I can better see the ones that I might.

comment:10 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to the Backlog after the code freeze for R2.6

comment:11 Changed 7 years ago by Russell Taylor

  • Description modified (diff)
  • Summary changed from Multiple workspace spectra plotted together have the same symbol to Import the curves preferences dialog from QtiPlot

comment:12 Changed 7 years ago by Russell Taylor

  • type changed from defect to enhancement

comment:13 Changed 7 years ago by Russell Taylor

  • Milestone changed from Backlog to Release 3.0

Make sure #6980 is resolved as part of this.

comment:14 Changed 7 years ago by Russell Taylor

  • Milestone changed from Release 3.0 to Backlog

comment:15 Changed 7 years ago by Russell Taylor

  • Milestone changed from Backlog to Release 3.1

comment:16 Changed 7 years ago by Russell Taylor

  • Milestone changed from Release 3.1 to Backlog

comment:17 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

bulk move to assigned at the into of the triage step

comment:18 Changed 6 years ago by Russell Taylor

  • Owner changed from Russell Taylor to Anyone

Orphaning tickets that I won't have time to look at.

comment:19 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4979

Note: See TracTickets for help on using tickets.