changeset 27437:349504d42040

Fix regression in test suite caused by fix for bug #56916. * copyobj.m, hgsave.m: Set "paperposition" property to fixed value before conducting BIST tests.
author Rik <rik@octave.org>
date Mon, 23 Sep 2019 07:49:08 -0700
parents ece17410605e
children 251056aeba5d
files scripts/plot/util/copyobj.m scripts/plot/util/hgsave.m
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/copyobj.m	Sun Sep 22 18:02:02 2019 -0700
+++ b/scripts/plot/util/copyobj.m	Mon Sep 23 07:49:08 2019 -0700
@@ -203,7 +203,7 @@
 %! toolkit = graphics_toolkit ();
 %! graphics_toolkit ("gnuplot");
 %! unwind_protect
-%!   h1 = figure ("visible", "off");
+%!   h1 = figure ("visible", "off", "paperposition", [0.25, 2.5, 8.0, 6.0]);
 %!   x = 0:0.1:2*pi;
 %!   y1 = sin (x);
 %!   y2 = exp (x - 1);
--- a/scripts/plot/util/hgsave.m	Sun Sep 22 18:02:02 2019 -0700
+++ b/scripts/plot/util/hgsave.m	Mon Sep 23 07:49:08 2019 -0700
@@ -88,7 +88,7 @@
 %! toolkit = graphics_toolkit ();
 %! graphics_toolkit ("gnuplot");
 %! unwind_protect
-%!   h1 = figure ("visible", "off");
+%!   h1 = figure ("visible", "off", "paperposition", [0.25, 2.5, 8.0, 6.0]);
 %!   x = 0:0.1:2*pi;
 %!   y1 = sin (x);
 %!   y2 = exp (x - 1);