/usr/share/octave/site/m/octave-epstk/edemo16.m is in octave-epstk 2.4-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 22 | %%
%% Routine: Character image
%% (see demo16.png)
%%
[im cm]=eimgread;
text=eimg2txt(im,cm);
[rows cols]=size(text);
eopen('demo16.eps');
eglobpar
etitle('Character Image',25,9);
headSpace=30;
lineSpace=1.2;
fontSize=1.5;
for i=1:rows
y=eWinHeight-headSpace-i*fontSize*lineSpace;
etext(text(i,:),0+eps,y,fontSize,1,11);
end
eclose
ebbox(5);
if ~exist('noDemoShow')
eview % start ghostview with eps-file
end
|