Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unwanted Datasets when plotting Time Bins with error bars #1986

Closed
NickDraper opened this issue Feb 17, 2010 · 1 comment
Closed

Unwanted Datasets when plotting Time Bins with error bars #1986

NickDraper opened this issue Feb 17, 2010 · 1 comment
Assignees
Milestone

Comments

@NickDraper
Copy link
Contributor

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)
@NickDraper
Copy link
Contributor Author

This issue was originally trac ticket 1138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants