Calling gnuplot from ConTeXt

The easiest way to make plots in ConTeXt documents is
    \usemodule[gnuplot]
    \starttext
    \title{How to draw nice plots with {\sc gnuplot}?}
    \startGNUPLOTscript[sin]
    set format y "%.1f"
    plot sin(x) t '$\sin(x)$'
    \stopGNUPLOTscript
    \useGNUPLOTgraphic[sin]
    \stoptext
This will run gnuplot automatically and include the resulting figure in the document.