<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Parametric</TITLE> <META NAME="description" CONTENT="Parametric"> <META NAME="keywords" CONTENT="gnuplot"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="gnuplot.css"> <LINK REL="next" HREF="node162.html"> <LINK REL="previous" HREF="node160.html"> <LINK REL="up" HREF="node113.html"> <LINK REL="next" HREF="node162.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html3391" HREF="node162.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html3385" HREF="node113.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html3379" HREF="node160.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html3387" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html3389" HREF="node467.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html3392" HREF="node162.html">Ranges</A> <B> Up:</B> <A NAME="tex2html3386" HREF="node113.html">Plot</A> <B> Previous:</B> <A NAME="tex2html3380" HREF="node160.html">Errorlines</A> <B> <A NAME="tex2html3388" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html3390" HREF="node467.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION040145000000000000000"></A> <A NAME="commands_plot_parametric"></A><A NAME="commands_splot_parametric"></A><A NAME="plot_parametric"></A><A NAME="splot_parametric"></A> <BR> Parametric </H2> When in parametric mode (<B>set parametric</B>) mathematical expressions must be given in pairs for <B>plot</B> and in triplets for <B>splot</B>. <P> Examples: <BR> <PRE> plot sin(t),t**2 splot cos(u)*cos(v),cos(u)*sin(v),sin(u) </PRE> <BR> <P> Data files are plotted as before, except any preceding parametric function must be fully specified before a data file is given as a plot. In other words, the x parametric function (<B>sin(t)</B> above) and the y parametric function (<B>t**2</B> above) must not be interrupted with any modifiers or data functions; doing so will generate a syntax error stating that the parametric function is not fully specified. <P> Other modifiers, such as <B>with</B> and <B>title</B>, may be specified only after the parametric function has been completed: <P> <BR> <PRE> plot sin(t),t**2 title 'Parametric example' with linespoints </PRE> <BR> <P> See also <P> http://www.gnuplot.info/demo/param.html<TT>Parametric Mode Demos. </TT> <P> <BR><HR> <ADDRESS> 2010-08-17 </ADDRESS> </BODY> </HTML>