Mercurial > octave
changeset 27432:1e79d913baaa
Change default figure property "paperpositionmode" to "auto" (bug #56916).
* NEWS: Announce change.
* graphics.in.h (FIGURE): Change radio_property paperpositionmode list to
"{auto}|manual".
author | Rik <rik@octave.org> |
---|---|
date | Fri, 20 Sep 2019 15:22:01 -0700 |
parents | 170d05ce158f |
children | fc7504df6a12 |
files | NEWS libinterp/corefcn/graphics.in.h |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Fri Sep 20 11:45:27 2019 +0100 +++ b/NEWS Fri Sep 20 15:22:01 2019 -0700 @@ -34,6 +34,10 @@ to change the shape of the cursor (pointer in Matlab-speak) displayed in a plot window. +- The figure property `"paperpositionmode"` now has the default `"auto"` + rather than `"manual"`. This change is more intuitive and is + Matlab compatible. + - The appearance of patterned lines `"LineStyle" = ":"|"--"|"-."` has been improved for small widths (`"LineWidth"` less than 1.5 pixels) which is a common scenario.
--- a/libinterp/corefcn/graphics.in.h Fri Sep 20 11:45:27 2019 +0100 +++ b/libinterp/corefcn/graphics.in.h Fri Sep 20 15:22:01 2019 -0700 @@ -3143,7 +3143,7 @@ radio_property paperorientation U , "{portrait}|landscape" array_property paperposition m , default_figure_paperposition () // FIXME: Matlab default is "auto", but this messes up hgsave BIST test. - radio_property paperpositionmode au , "auto|{manual}" + radio_property paperpositionmode au , "{auto}|manual" array_property papersize U , default_figure_papersize () radio_property papertype SU , "{usletter}|uslegal|a0|a1|a2|a3|a4|a5|b0|b1|b2|b3|b4|b5|arch-a|arch-b|arch-c|arch-d|arch-e|a|b|c|d|e|tabloid|<custom>" radio_property paperunits Su , "{inches}|centimeters|normalized|points"