/usr/lib/scilab-plotlib/macros/parseHideMode.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 | function out = parseHideMode(typeOfPlot,value,pptystring,ppty)
//
// Parsing function for the 'hidden' property
//
select type(value)
case 10 // a string
if or(value==["on";"yes"])
out=list("FaceColor","default");
elseif or(value==["off";"no"])
out=list("FaceColor","none");
else
_error(sprintf('%s : unknown hide mode ''%s''',typeOfPlot,value));
end
else
_error(sprintf('%s : missing hide mode ',typeOfPlot));
end
endfunction
|