\input fig4tex
% 1. Definition of characteristic points
\figinit{cm,ortho}
\figpt 1:(0,0)
\figpttraC 2:=1/2,0,0/
\figvectC 10 (0,0,2)\figptstra 3=2,1/1,10/
\figvectC 10 (0,2,0)\figptstra 5=1,2,3,4/1,10/
% 2. Creation of the graphical file
\figset proj(latitude=45, longitude=-50)
\figdrawbegin{}
\figdrawline[1,5]\figdrawline[2,6]\figdrawline[3,7]\figdrawline[4,8]
\figdrawline[5,6,7,8,5]
\figset (fillmode = yes, color=1)
\figdrawline[1,2,3,4,1]
\figset (fillmode = no, color=default)
\figset mesh(dash=default)\figdrawmesh 1,7 [1,2,3,4]
\figdrawend
% 3. Writing text on the figure
\figvisu{\figBoxA}{\bf Magnifique cube hachur\'e}{}
\centerline{\box\figBoxA}
\bye