Ticket #5115 (closed: worksforme)

Opened 8 years ago

Last modified 5 years ago

Keep the fit on the graph even when changing the settings.

Reported by: Robert Whitley Owned by: Anders Markvardsen
Priority: minor Milestone: Release 3.4
Component: Muon Keywords:
Cc: anders.markvardsen@… Blocked By:
Blocking: Tester: Federico M Pouzols

Description (last modified by Anders Markvardsen) (diff)

The scientists want the ability to keep the fit even if they go back and change the bunching, or scale, etc.

Currently the data is re-plotted and the fitting is deleted.

Hint: The fitting data is still contained within the workspace and could be re-plotted on the graph.

Change History

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

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

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

Robert's old tickets returned to you for assessment.

Are they still valid, duplicates?

comment:7 Changed 7 years ago by Nick Draper

  • Owner changed from Robert Whitley to Anders Markvardsen

Robert's old tickets returned to you for assessment.

Are they still valid, duplicates?

comment:8 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:9 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:10 Changed 7 years ago by Anders Markvardsen

  • Owner changed from Anders Markvardsen to Arturs Bekasovs
  • Description modified (diff)

comment:11 Changed 7 years ago by Arturs Bekasovs

  • Component changed from Framework to Muon
  • Summary changed from MUON: Keep the fit on the graph even when changing the settings. to Keep the fit on the graph even when changing the settings.

comment:12 Changed 7 years ago by Arturs Bekasovs

Quite an old one, should ask scientists if it is still valid/required.

comment:13 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:14 Changed 7 years ago by Arturs Bekasovs

  • Keywords Clarify added

comment:15 Changed 7 years ago by Arturs Bekasovs

  • Priority changed from major to minor
  • Keywords Clarify removed

Still might be useful, but not that important.

comment:16 Changed 6 years ago by Anders Markvardsen

  • Owner changed from Arturs Bekasovs to Anders Markvardsen

comment:17 Changed 6 years ago by Anders Markvardsen

Steve writes in email today: Essentially if we’ve completed a fit and have a graph with the data and corresponding fit, we’d like to be able to rescale/rebunch the plot (in settings) keeping the fit line displayed.

comment:18 Changed 6 years ago by Anders Markvardsen

  • Status changed from assigned to verify
  • Resolution set to worksforme
  • Milestone changed from Backlog to Release 3.4

To tester:

The MantidPlot->Muon Analysis interface has in Settings tab an combobox with name 'Plot creation' which when selected with either 'None' or 'Auto-Update' no not Overwrite the plot

comment:19 Changed 6 years ago by Federico M Pouzols

  • Status changed from verify to verifying
  • Tester set to Federico M Pouzols

comment:20 Changed 6 years ago by Federico M Pouzols

It seems that with the proper settings you could get the desired behavior. This is documented in http://www.mantidproject.org/MuonAnalysisSettings. But the behavior will depend on what are your defaults or previous settings. At first, this can be a bit counterintuitive.

But I cannot get it to work with current master. These are the steps that I followed:

  • "Home" -> load a dataset
  • "Settings" -> set "New plot policy" to "Auto-Update" (without overwrite)
  • "Data Analysis" -> do a fit
  • "Settings" -> change for example Autoscale (tick, untick), and the fit curves are gone.

Alternative sequence:

  • before the fitting step, unset/untick "Autoscale" in "Settings"
  • "Data Analysis" -> do the fit
  • "Settings" -> change Minimum/Maximum, and the fit curves are gone

Am I doing something wrong? Do you need to follow a particular sequence of steps to get it working?

Other actions, like modifying the plot axes by double-clicking on them (or right click->Properties) do not clear the fitting curves.

comment:21 Changed 6 years ago by Nick Draper

  • Status changed from verifying to closed

comment:22 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5961

Note: See TracTickets for help on using tickets.