Ticket #1138 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Unwanted Datasets when plotting Time Bins with error bars

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: major Milestone: Iteration 24
Component: Keywords:
Cc: robert.dalgliesh@… Blocked By:
Blocking: Tester: Michael Whitty

Description

Hi guys just a small bug in the qtiplot plotting. If I merge two plot using mergeplots where I have error bars displayed I get extra data sets EP0 etc where things get a bit messed up. Not a big problem but it is quite messy

Also after deselecting the confirmation from 2d plot closing in preferences if I run the previous script and then try to use the manual add/remove curves in QTiplot I see a huge list of old plots that have been left in memory.

Rob Dalgleish

e.g.

LoadRaw(Filename="W:/RawFiles/OFFSPEC00005660.raw",OutputWorkspace="w5660",LoadLogFiles="0")
CropWorkspace(InputWorkspace="w5660",OutputWorkspace="w5660d",StartWorkspaceIndex="4",EndWorkspaceIndex="244")
ConvertUnits(InputWorkspace="w5660d",OutputWorkspace="w5660d",Target="Wavelength",AlignBins="1")

Integration(InputWorkspace="w5660d",OutputWorkspace="cut1",RangeLower="0.5",RangeUpper="2.5")
Integration(InputWorkspace="w5660d",OutputWorkspace="cut2",RangeLower="2.5",RangeUpper="4.5")
Integration(InputWorkspace="w5660d",OutputWorkspace="cut3",RangeLower="4.5",RangeUpper="6.5")
Integration(InputWorkspace="w5660d",OutputWorkspace="cut4",RangeLower="6.5",RangeUpper="8.5")
Integration(InputWorkspace="w5660d",OutputWorkspace="cut5",RangeLower="8.5",RangeUpper="10.5")
Integration(InputWorkspace="w5660d",OutputWorkspace="cut6",RangeLower="10.5",RangeUpper="12.5")

g1=plotBin("cut1",0,1)
g2=plotBin("cut2",0,1)
g3=plotBin("cut3",0,1)
g4=plotBin("cut4",0,1)
g5=plotBin("cut5",0,1)
g6=plotBin("cut6",0,1)
mergePlots(g1,g2)
mergePlots(g1,g3)
mergePlots(g1,g4)
mergePlots(g1,g5)
mergePlots(g1,g6)

Change History

comment:1 Changed 11 years ago by Freddie Akeroyd

  • Cc robert.dalgleish@… added; rob.dalgleish@… removed

comment:2 Changed 11 years ago by Freddie Akeroyd

  • Cc robert.dalgliesh@… added; robert.dalgleish@… removed

comment:3 Changed 10 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:4 Changed 10 years ago by Martyn Gigg

(In [5702]) Fix merge plots so that it doesn't erroneously report additional data sets when plots with error bars are merged. Re #1138

comment:5 Changed 10 years ago by Martyn Gigg

  • Status changed from accepted to verify

comment:6 Changed 10 years ago by Nick Draper

  • Resolution set to fixed

fill in missing resolution

comment:7 Changed 10 years ago by Michael Whitty

  • Status changed from verify to verifying
  • Tester set to Michael Whitty

comment:8 Changed 10 years ago by Michael Whitty

  • Status changed from verifying to closed

in #5905 - error bars no longer show in graph legend, but qtiplot mandates that they still actually exist as data attached to the curve, though this is only visible from the add/remove curves dialog

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1986

Note: See TracTickets for help on using tickets.