/usr/share/qtoctave/scripts_octave/svgcanvasload.m is in qtoctave 0.10.1-4.
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 | ## -*- texinfo -*-
## @deftypefn {Function File} {} svgcanvasload (@var{n}, @var{file})
## Load @var{file} in canvas number @var{n}. @var{file} must be in SVG file format. You can find more help about SVG file format in http://www.w3.org/TR/SVGMobile12/
## Suggestion: Use SvgPlot package for plotting.
## @seealso{svgcanvasload, svgcanvassave, svgcanvas_delete_on_load}
## @end deftypefn
function svgcanvasload(n, file)
fprintf( stderr, "~~svgcanvas: %d %s\n", n, make_absolute_filename(file) );
%if(length( regexp(file, "^/.*") )>=1) % UNIX
% fprintf( stderr, "~~svgcanvas: %d %s\n", n, file);
%elseif (length( regexp(file, "^.:.*") )>=1) % Windows
% fprintf( stderr, "~~svgcanvas: %d %s\n", n, file );
%else % Local file
% fprintf( stderr, "~~svgcanvas: %d %s/%s\n", n, pwd, file );
%endif
endfunction
|