Mercurial > octave
changeset 28075:5e79401cbc35 stable
Set default "paperposition" property to correct value (bug #57651)
* graphics.cc (default_figure_paperposition): Set default values to match
default "position" and "papersize" values.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 17 Feb 2020 12:31:16 -0800 |
parents | a3b40e48c069 |
children | 2bf76050cb75 9291de57bcfe |
files | libinterp/corefcn/graphics.cc |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc Mon Feb 17 14:16:58 2020 -0500 +++ b/libinterp/corefcn/graphics.cc Mon Feb 17 12:31:16 2020 -0800 @@ -524,10 +524,11 @@ { Matrix m (1, 4); - m(0) = 0.25; - m(1) = 2.50; - m(2) = 8.00; - m(3) = 6.00; + // Update if default_figure_position or default_figure_papersize change + m(0) = 1.3421852580027660; + m(1) = 3.3191389435020748; + m(2) = 5.8156294839944680; + m(3) = 4.3617221129958503; return m; }