/usr/lib/scilab-plotlib/macros/_imagesc.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 | function hdl=_imagesc(varargin)
[lhs,rhs]=argn(0);
if rhs==0
load(PLOTLIB+'mandrill.dat');
h=gcf();
IMD=h.immediate_drawing;
h.immediate_drawing='off';
hdl=_image(X);
_colormap gray
_axis equal
_axis tight
h.immediate_drawing=IMD;
else
hdl=_mainPlot('image',varargin,'CDataMapping','scaled');
end
endfunction /////
|