Ticket #1773 (closed: fixed)
Colour fill plots do not keep their aspect ratio when resizing
Reported by: | Martyn Gigg | Owned by: | Mathieu Doucet |
---|---|---|---|
Priority: | major | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Karl Palmen |
Description
When a 2D colour fill plot is resized and its aspect ratio is set as fixed the plot should keep the correct ratio. Currently it does not.
This is particularly misleading the a SANS 2D reduction where artifacts of the reduction can become warped.
Change History
comment:1 Changed 10 years ago by Nick Draper
- Owner set to Sofia Antony
- Status changed from new to assigned
comment:2 Changed 10 years ago by Nick Draper
- Milestone changed from Iteration 26 to Iteration 27
Bulk move of tickets to iteration 27, if your ticket is essential for Iteration 26 then move it back.
comment:3 Changed 10 years ago by Nick Draper
- Milestone changed from Iteration 27 to Iteration 28
Bulk move of tickets at the end of iteration 27
comment:4 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 28 to Iteration 29
Bulk move of tickets at the end of iteration 28
comment:5 Changed 9 years ago by Nick Draper
- Status changed from assigned to new
- Owner Sofia Antony deleted
Taken from Sofia Antony's list after she left
comment:6 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:7 Changed 9 years ago by Nick Draper
- Owner set to Anyone
- Status changed from new to assigned
comment:8 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
comment:9 Changed 9 years ago by Mathieu Doucet
- Status changed from assigned to accepted
- Owner changed from Anyone to Mathieu Doucet
comment:10 Changed 9 years ago by Mathieu Doucet
In [14984]:
comment:11 Changed 9 years ago by Mathieu Doucet
- Status changed from accepted to verify
- Resolution set to fixed
To test:
When plotting a 2D color fill plot, the aspect ratio of the plot will be kept when resizing the plot window. To turn this off, go in the Properties dialog of the plot and uncheck the option called "keep aspect ratio on window resize".
Note: the tick box in the properties dialog only appears for color fill plots.
comment:12 Changed 9 years ago by Mathieu Doucet
In [14987]:
comment:13 Changed 9 years ago by Karl Palmen
- Status changed from verify to verifying
- Tester set to Karl Palmen
comment:14 Changed 9 years ago by Karl Palmen
- Status changed from verifying to closed
I found the default value of the "keep aspect ratio on window resize" was no tick. When ticked the aspect ratio was preserved. When the width was reduced, the plot was shrunk to fit. When widened, the top and bottom of the plot were not shown. The default is reset on each run of Mantidplot.
comment:15 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 2620