Prev: peak detection in (x,y,z) data
Next: Problem using sampsizepwr - wrong results for proportion test?
From: Solomon Hurst on 25 Sep 2009 16:30 "Solomon Hurst" <solomon.hurst(a)bendix.com> wrote in message <h9j7pu$p63$1(a)fred.mathworks.com>... > Hello, > > I am using the FEX submission "makedatatip" by Tim Farajian to add data cursors with the update of a slider. > However, I would like to remove data cursors attached to any other targets of the figure. > I tried adding the handles of the data cursors to an array and running "delete" on the elements of the array I no longer wanted, but doing so gave me a "Invalid object handle" error when the data cursors still tried to update. > Is there a simple way to programmatically get all data cursors for a figure and remove them? > > Any help is appreciated. > -SRH Minor update: I found out the DataCursors actually belong to the datacursormode object, not the figure itself. However, setting the DataCursors property of the datacursorsmode object to [] does not seem to remove them.
|
Pages: 1 Prev: peak detection in (x,y,z) data Next: Problem using sampsizepwr - wrong results for proportion test? |