Skip to content

Commit

Permalink
Refs #8389 Update colour fill plot labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Nov 19, 2013
1 parent d376ac2 commit 4f931c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Code/Mantid/scripts/Inelastic/IndirectBayes.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,11 @@ def QuestRun(samWS,resWS,nbs,erange,nbins,Fit,Loop,Verbose,Plot,Save):

CreateWorkspace(OutputWorkspace=zpWS, DataX=dataXz, DataY=dataYz, DataE=dataEz,
Nspec=Nsig, UnitX='MomentumTransfer', VerticalAxisUnit='MomentumTransfer', VerticalAxisValues=dataXs)

unitx = mtd[zpWS].getAxis(0).setUnit("Label")
unitx.setLabel('beta' , '')
unity = mtd[zpWS].getAxis(1).setUnit("Label")
unity.setLabel('sigma' , '')

if m == 0:
xSig = dataXs
Expand Down

0 comments on commit 4f931c8

Please sign in to comment.