/usr/lib/open-axiom/lib/graph/drawcolor.ps is in open-axiom-graphics-data 1.4.1+svn~2299+ds-1ubuntu1.
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 | % operand stack configuration in order to use psDrawColor:
% psDraw
% vlist[0].y
% vlist[0].x
% n
% ...
% vlist[n].y
% vlist[n].x
% graphics-context dictionary
% to draw lines connecting points in vlist[0] to vlist[n]
/psDrawColor
{ gsave
newpath
yVal moveto %% set currentpoint
1 sub { %% loop to draw lines.
yVal lineto
} repeat
stroke %% draw in foreground color
grestore }
def
|