diff scripts/plot/util/rotate.m @ 21581:6fab85c1538f

maint: Follow Octave conventions for use of semicolon in BIST tests. * testfun.txi: Document Octave conventions for use of semicolon in BIST tests. * cellfun.cc, ellipj.cc, file-io.cc, gcd.cc, hash.cc, nproc.cc, utils.cc, fftw.cc, ov-usr-fcn.cc, oct-parse.in.yy, md5sum.m, wavread.m, wavwrite.m, cplxpair.m, rat.m, im2double.m, rref.m, stem3.m, rotate.m, pchip.m, blackman.m, hamming.m, hanning.m, spectral_adf.m, spectral_xdf.m, assert.m, fail.m, etime.m, build-sparse-tests.sh, classes.tst, ctor-vs-method.tst, index.tst, io.tst, struct.tst: Follow Octave conventions for use of semicolon in BIST tests.
author Rik <rik@octave.org>
date Fri, 01 Apr 2016 18:16:01 -0700
parents 516bb87ea72e
children b002b4331a12
line wrap: on
line diff
--- a/scripts/plot/util/rotate.m	Fri Apr 01 16:03:29 2016 -0700
+++ b/scripts/plot/util/rotate.m	Fri Apr 01 18:16:01 2016 -0700
@@ -175,14 +175,14 @@
 %! o3 = text (0, 0, "foobar");
 %!error rotate ()
 %!error rotate (o1)
-%!error rotate (o1, [0,0,0]);
-%!error <all handles must be children of the same axes object> rotate ([o1, o2], [0,0,0], 90);
-%!error <invalid direction> rotate (o1, "foo", 90);
-%!error <invalid rotation angle> rotate (o1, [0,0,0], "foo");
-%!error <invalid origin> rotate (o1, [0,0,0], 90, "foo");
-%!error rotate (o1, [0,0,0], 90, [0,0,0], 1);
-%!error <H must be an array of one or more graphics handles> rotate (NaN, [0,0,0], 90);
-%!error <expecting image, line, patch, or surface objects> rotate (o3, [0,0,0], 90);
+%!error rotate (o1, [0,0,0])
+%!error <all handles must be children of the same axes object> rotate ([o1, o2], [0,0,0], 90)
+%!error <invalid direction> rotate (o1, "foo", 90)
+%!error <invalid rotation angle> rotate (o1, [0,0,0], "foo")
+%!error <invalid origin> rotate (o1, [0,0,0], 90, "foo")
+%!error rotate (o1, [0,0,0], 90, [0,0,0], 1)
+%!error <H must be an array of one or more graphics handles> rotate (NaN, [0,0,0], 90)
+%!error <expecting image, line, patch, or surface objects> rotate (o3, [0,0,0], 90)
 %!test
 %! close (h1);
 %! close (h2);