\input fig4tex.tex % % 1. Definition of characteristic points \figinit{cm} \figpt 1:(0,1) \figpt 2:(3,1) \figpt 3:(6,0) \figpt 4:(8.121,2.121) \figvectC 10(10,0)\figptstra 5=1,2/1,10/ % 2. Creation of the graphical file \figdrawbegin{} \figdrawline[1,2]\figdrawline[3,4]\figdrawline[5,6] \figdrawend % 3. Writing text on the figure \figvisu{\figBoxA}{{\tt \char`\\figwritelX} variants: position of a text with respect to a line.} { % First segment \figwritelw 1,2:West(4pt) \figwritele 1,2:East(4pt) \figwriteln 1,2:North(4pt)\figwritels 1,2:South(4pt) % Second segment \figwritelw 3,4:West(4pt) \figwritele 3,4:East(4pt) \figwriteln 3,4:North(4pt)\figwritels 3,4:South(4pt) % Third segment \figwriteln 5,6:North(4pt,0.8)\figwritels 5,6:South(4pt,0.1) } \centerline{\box\figBoxA} \bye |