Ticket #9738 (closed: fixed)
Plot legend shows very un-rounded values for S(Q,w)
Reported by: | Samuel Jackson | Owned by: | Dan Nixon |
---|---|---|---|
Priority: | minor | Milestone: | Release 3.3 |
Component: | GUI | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Harry Jeffery |
Description (last modified by Samuel Jackson) (diff)
Reported by Vicky Garcia-Sakai. When plotting an S(Q,w) the legend fills the entire plot with the un-rounded Q values for each spectrum. This is rather annoying as the first thing you need to do is move or delete it to view the data.
Investigate if this could be rounded to a more sensible value.
Attachments
Change History
comment:3 Changed 6 years ago by Martyn Gigg
- Status changed from new to assigned
A screenshot would be helpful if you have one.
Changed 6 years ago by Samuel Jackson
- Attachment sqw_rounding.png added
Screenshot showing the reported issue.
comment:5 Changed 6 years ago by Dan Nixon
- Status changed from assigned to inprogress
Added rounding to numeric axis
Use boost::format instead of boost::lexical_cast to avoid precision errors and remove training zeros
Refs #9738
Changeset: 4abbff05d41466a535cf8ac0cce6d5b6debf9422
comment:6 Changed 6 years ago by Dan Nixon
- Status changed from inprogress to verify
- Resolution set to fixed
To test:
- Follow steps to create an S(Q,w) reduction
- Plot the *_sqw workspace
- Ensure that spectra legend values are nicely rounded
comment:7 Changed 6 years ago by Harry Jeffery
- Status changed from verify to verifying
- Tester set to Harry Jeffery
comment:8 Changed 6 years ago by Harry Jeffery
- Status changed from verifying to closed
Merge remote-tracking branch 'origin/bugfix/9738_fix_plot_legend_sigfig_rounding'
Full changeset: 1371a810cd97171e0c21c5cc9f797067506e0d3c