diff scripts/plot/appearance/annotation.m @ 20056:059a05bc398c

Replace 'Octave:broadcast' warning with 'Octave:matlab-incompatible'. * liboctave/numeric/bsxfun.h: replace the 'Octave:broadcasting' with the more common 'Octave:matlab-compatible' warning which is off by default. * plot/appearance/annotation.m, image/cubehelix.m: remove turning off the warning since now it is done by default. * miscellaneous/warning_ids.m: remove entry about Octave:broadcast * NEWS: make note of this change.
author Carnë Draug <carandraug@octave.org>
date Sat, 21 Feb 2015 16:38:53 +0000
parents 9fc020886ae9
children e9f89866074c
line wrap: on
line diff
--- a/scripts/plot/appearance/annotation.m
+++ b/scripts/plot/appearance/annotation.m
@@ -669,7 +669,6 @@
 endfunction
 
 function [x, y] = arrowcoordinates (h, nar = [])
-  warning ("off", "Octave:broadcast", "local")
   pos = getnormpos (h);
   ppos = norm2pts (h, pos(3:4).');
   ang = angle (complex (ppos(1), ppos(2)));
@@ -830,8 +829,6 @@
 endfunction
 
 function XY = textcoordinates (hte, pos)
-  warning ("off", "Octave:broadcast", "local")
-
   ## Get the "tight" extent of the text object in points units
   textpos = get(hte, "position");
   rot = get (hte, "rotation");