\input fig4tex.tex
%
% 1. Definition of characteristic points
\figinit{pt}
% Vertices of the triangle
\figpt 1:(80.5, 120)
\figpt 2:(-10, -10)
\figpt 3:(130, 20)
% and the barycenter
\figptbary 5:c.g.[1,2,3 ; 1,1,1]
%
% 2. Creation of the graphical file
\figdrawbegin{}
% A closed line to draw the triangle
\figdrawline[1,2,3,1]
\figdrawend
%
% 3. Writing text on the figure
\figvisu{\figBoxA}{Figure 1}
{
\figwriten 1:(4)
\figwritew 2:(2)
\figwritee 3:(2)
\figset write(mark=$\bullet$)\figwrites 5:$G$(4)
}
\centerline{\box\figBoxA}
\bye