/usr/lib/scilab-plotlib/macros/_axes.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 | function varargout=_axes(varargin)
global defaultFigureUserData defaultAxesUserData
[lhs,rhs]=argn();
_start=1;
if length(varargin)
if typeof(varargin(_start))=="pltlibH"
if varargin(_start).handle.type=="Axes"
h=varargin(_start).handle
else
_error("axes : handle should be an axes handle")
end
sca(h);
varargout(1)=[];
return;
end
end
win=get('current_figure');
IMD=win.immediate_drawing;
win.immediate_drawing="off";
ax=newaxes();
[_axes_ppty_value_list,_next]=_parse_axes_ppty_value("axes",varargin,_start);
_update_axes(ax,_axes_ppty_value_list,%t);
varargout(1)=mlist(['pltlibH','handle'],ax);
win.immediate_drawing=IMD;
endfunction
|