/usr/lib/scilab-plotlib/macros/parsePosition.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 | function out=parsePosition(typeOfPlot,value,pptystring,ppty)
//
// Parsing function for the 'Position' figure property
//
select type(value)
case 1 // a matrix (must be a 4 or 6 element vector)
if (length(value)==4)
out=list(ppty,value);
else
_error(sprintf('%s : Position vector must be a 4 element vector',typeOfPlot));
end
else
_error(sprintf('%s : missing Position vector ',typeOfPlot));
end
endfunction
|