diff NEWS @ 18757:e68788478aa1

linkprop.m: Overhaul function for performance and Matlab compatibility. * NEWS: Announce changes in linkprop behavior. * linkprop.m: Redo docstring. Add more input validation. When linking, set property values to be that of the first object in the list (missing Matlab compatibility). Use onCleanup instead of an hggroup in order for 'clear hlink' command to correctly unlink properties. For performance, avoid for loops in update_prop and use set() with multiple handles. Add %!demo, %!test, and %!error code to verify function.
author Rik <rik@octave.org>
date Sat, 03 May 2014 16:51:00 -0700
parents 700714c099a2
children d1750be79dee
line wrap: on
line diff
--- a/NEWS	Fri May 02 14:45:22 2014 -0700
+++ b/NEWS	Sat May 03 16:51:00 2014 -0700
@@ -24,6 +24,12 @@
     There is still one difference:  Matlab switches to '%e' and Octave
     is currently switching to '%g'.
 
+ ** linkprop has been completely re-coded for performance and Matlab
+    compatibility.  It now returns a linkprop object which must be stored
+    in a variable for as long as the graphic objects should remain linked.
+    To unlink properties use 'clear hlink' where hlink is the variable
+    containing the linkprop object.
+
  ** Other new functions added in 4.2:
 
       dir_in_loadpath