Removes a selected datatip
datatipRemove(polyline_handle,ind) datatipRemove(datatip_handle)
The handle of the polyline, where the tip is
The handle of the tip to be removed.
an integer, the tip index
Removes a selected datatip.
x=linspace(0,1,100)'; y=x.^3; clf() plot(x,y); e=gce();p=e.children(1);//get the handle on the polyline t1=datatipCreate(p,80); datatipCreate(p,40); datatipRemove(p,2); datatipRemove(t1); | ![]() | ![]() |