/usr/lib/scilab-plotlib/macros/plotlibmode.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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | function plotlibmode()
fun=[
'image'
'imagesc'
'uicontrol'
'uimenu'
'figure'
'gcf'
'axes'
'gca'
'drawnow'
'cla'
'hold'
'axis'
'subplot'
'caxis'
'shg'
'colormap'
'colorbar'
'legend'
'plot'
'plot3'
'plotyy'
'fill'
'fill3'
'quiver'
'quiver3'
'semilogx'
'semilogy'
'loglog'
'pcolor'
'tripcolor'
'quiver'
'mesh'
'surf'
'surfl'
'trimesh'
'trisurf'
'trisurfl'
'triplot'
'shading'
'hidden'
'view'
'grid'];
list_out=sprintf('%s,',fun);
list_out=part(list_out,1:length(list_out)-1);
list_in=sprintf('_%s,',fun);
list_in=part(list_in,1:length(list_in)-1);
funcprot(0)
execstr(sprintf("[%s]=resume(%s);",list_out,list_in));
endfunction
|