manpagez: man pages & more
info gnuplot
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1.9.2 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."


This document was generated on November 1, 2013 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.