Ticket #2378 (closed: fixed)
Add 'Plot Style' to MuonAnalysis Plot Options tab
Reported by: | Anders Markvardsen | Owned by: | Robert Whitley |
---|---|---|---|
Priority: | major | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Anders Markvardsen |
Description
Add plot option connect line to MuonAnalysis
Appears to be not straightforward to do from python, which is how plots are controlled from MuonAnalysis.
Investigating doing this by from a script window
l=plotSpectrum('b',0) a=l.activeLayer() print dir(a)
However from the list provided by dir(a) there may not be a function exposed to change connection style.
May also be worth surfing the QTI document: http://soft.proindependent.com/doc/manual-en/index.html
May have to change plotSpectrum to take extra arguments to do this (i.e. modifications to mantidplot.py in Code/Mantid/MantidPlot).
Attachments
Change History
comment:2 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 29 to Iteration 30
"New" tickets moved at the code freeze of iteration 29
comment:3 Changed 9 years ago by Anders Markvardsen
- Owner changed from Anders Markvardsen to Robert Whitley
- Status changed from new to assigned
comment:4 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 30 to Iteration 31
Bulk move of tickets to iteration 31 at the iteration 30 code freeze
Changed 9 years ago by Anders Markvardsen
- Attachment UDA plot options (revised).png added
Plot Options tab revised
comment:5 Changed 9 years ago by Anders Markvardsen
- Priority changed from minor to major
- Summary changed from Plot option 'connect line' to MuonAnalysis to Add 'Plot Style' to MuonAnalysis Plot Options tab
Replace the 'connect line' tickbox current greyed out with Plot Style combobox as shown in attached file above. (note this is the same combobox you can get by right clicking on a plot then Preperties then click on the item for a curve and look to your bottom left)
Also change title 'Default Plot Style' to 'Default Data Plot Style' since these options are not styles for calculated fitted curves.
I previously found it nontrivial to force a 'style' when initiating a plot from the MuonAnalysis code, however you may find this easy!
comment:9 Changed 9 years ago by Robert Whitley
- Status changed from accepted to verify
- Resolution set to fixed
comment:10 Changed 9 years ago by Robert Whitley
- Status changed from verify to reopened
- Resolution fixed deleted
comment:11 Changed 9 years ago by Robert Whitley
In [15283]:
comment:13 Changed 9 years ago by Robert Whitley
- Status changed from accepted to verify
- Resolution set to fixed
comment:14 Changed 9 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester set to Anders Markvardsen
comment:15 Changed 9 years ago by Anders Markvardsen
- Status changed from verifying to closed
Looks good
comment:16 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 3225
Bulk move of tickets at the end of iteration 28