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

Allow X^n scaling in plots #11422

Closed
Tracked by #10564
DanNixon opened this issue Nov 19, 2014 · 3 comments · Fixed by #13367
Closed
Tracked by #10564

Allow X^n scaling in plots #11422

DanNixon opened this issue Nov 19, 2014 · 3 comments · Fixed by #13367
Assignees
Milestone

Comments

@DanNixon
Copy link
Member

This issue was originally TRAC 10580

Add the ability to change the X axis of a plot to x^n scale.

This can be done by implementing a new scale engine.

This forms part of #10564.

@DanNixon
Copy link
Member Author

@martyngigg (2015-02-11T16:11:10):
There is a general requirement to be able plot in different units, as discussed here in http://trac.mantidproject.org/mantid/ticket/9722. This should not be implemented just for IDA. If this is still something that you'd like to tackle then we should discuss the design first.


@DanNixon (2015-02-11T16:49:06):
For now this is just going to deal with the plots inside the interface its self and is something I have done in http://trac.mantidproject.org/mantid/ticket/11036.

@DanNixon DanNixon added the Indirect/Inelastic Issues and pull requests related to indirect or inelastic label Jun 3, 2015
@DanNixon DanNixon self-assigned this Jun 3, 2015
@DanNixon DanNixon assigned ElliotAOram and unassigned DanNixon Jul 30, 2015
@DanNixon DanNixon added Component: GUI and removed Indirect/Inelastic Issues and pull requests related to indirect or inelastic labels Jul 31, 2015
@DanNixon DanNixon changed the title IDA: Option to plot fit in Q or Q^2 Allow X^n scaling in plots Jul 31, 2015
@martyngigg martyngigg added this to the Release 3.5 milestone Aug 6, 2015
@martyngigg
Copy link
Member

@ElliotAOram As this is now a general ticket I'm going to pass it to Matt as he has a bit more time available to spend on general things

matthew-d-jones pushed a commit that referenced this issue Aug 6, 2015
matthew-d-jones pushed a commit that referenced this issue Aug 7, 2015
matthew-d-jones pushed a commit that referenced this issue Aug 10, 2015
@matthew-d-jones
Copy link
Contributor

Following a conversation with Martyn:

  • "n" will not be restricted to integer or positive values.
  • A warning to "Ensure axis and data ranges are compatible with chosen axis scale" will be displayed in the GUI when the "power" scale type is selected.

It is hoped the warning will prompt users to check the axis or data range if the plot does not look like they expect. For example, it is possible to choose axis scales which diverge at 0, but are valid (and possibly useful) elsewhere.

matthew-d-jones pushed a commit that referenced this issue Aug 13, 2015
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

Successfully merging a pull request may close this issue.

4 participants