changeset 6441:8bcceddab2d5

[project @ 2007-03-23 15:35:28 by jwe]
author jwe
date Fri, 23 Mar 2007 15:35:28 +0000
parents 98ee80702bca
children 1896d9b1f302
files scripts/ChangeLog scripts/plot/orient.m
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Fri Mar 23 15:13:19 2007 +0000
+++ b/scripts/ChangeLog	Fri Mar 23 15:35:28 2007 +0000
@@ -1,5 +1,7 @@
 2007-03-23  John W. Eaton  <jwe@octave.org>
 
+	* plot/orient.m: Fix tests to avoid creating a plot window.
+
 	* elfun/acosd.m, elfun/acotd.m, elfun/acscd.m, elfun/asecd.m,
 	elfun/asind.m, elfun/atand.m, elfun/cosd.m, elfun/cotd.m,
 	elfun/cscd.m, elfun/secd.m, elfun/sind.m, elfun/tand.m,
--- a/scripts/plot/orient.m	Fri Mar 23 15:13:19 2007 +0000
+++ b/scripts/plot/orient.m	Fri Mar 23 15:35:28 2007 +0000
@@ -56,6 +56,8 @@
 
 endfunction
 
+%!shared
+%!  set (gcf (), "visible", "off")
 %!assert(orient,"portrait") # default
 %!test orient('landscape')
 %!assert(orient,"landscape") # change to landscape