/usr/lib/scilab-plotlib/macros/%pltlibH_delete.sci is in scilab-plotlib 0.42-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | function %pltlibH_delete(h)
if typeof(h.handle.user_data)=='leafData'
_ax=get(h.handle,'parent');
while get(_ax,'type')~='Axes'
_ax=get(_ax,'parent');
end
delete(h.handle);
_compute_data_bounds(_ax,h);
else
delete(h.handle);
end
endfunction
|