\setupoutput[pdftex]
\starttext

\section{Including the MPcode in the placefigure mechanism}

\placefigure
    [here]
    []
    {the label}
    {\startMPcode
         label.top(btex Some label 1 etex, (1cm,1cm)) ;
    \stopMPcode}

\section{startMPgraphic -- placeMPgraphic}

\startMPgraphic
    label.top(btex Some label 2 etex, (1cm,1cm)) ;
\stopMPgraphic

\loadcurrentMPgraphic{width=15cm}
\placeMPgraphic

\section{startuseMPgraphic -- useMPgraphic}

\startuseMPgraphic{Label2}
    label.top(btex Some label 3 etex, (1cm,1cm)) ;
\stopuseMPgraphic

\useMPgraphic{Label2}

\section{startreusableMPgrpahic -- reuseMPgraphic}

\startreusableMPgraphic{Label3}
    label.top(btex Some label 4 etex, (1cm,1cm)) ;
\stopreusableMPgraphic

\reuseMPgraphic{Label3}

\stoptext