/usr/lib/scilab-plotlib/macros/parseLineStyleOrder.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 | function out=parseLineStyleOrder(typeOfPlot,value,pptystring,ppty)
//
// Parsing function for the 'LineStyleOrder' property
//
select type(value)
case 1 // a matrix (must be a nx3 element vector)
if size(value,2)==3
out=list(ppty,value);
else
_error(sprintf('%s : %s spec must be a n x 3 matrix',typeOfPlot,ppty));
end
else
_error(sprintf('%s : missing %s spec',typeOfPlot,ppty));
end
endfunction
|