<!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>Operators</TITLE> <META NAME="description" CONTENT="Operators"> <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="node30.html"> <LINK REL="previous" HREF="node23.html"> <LINK REL="up" HREF="node22.html"> <LINK REL="next" HREF="node27.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html1111" HREF="node27.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html1105" HREF="node22.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html1099" HREF="node25.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html1107" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html1109" HREF="node467.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html1112" HREF="node27.html">Unary</A> <B> Up:</B> <A NAME="tex2html1106" HREF="node22.html">Expressions</A> <B> Previous:</B> <A NAME="tex2html1100" HREF="node25.html">Random number generator</A> <B> <A NAME="tex2html1108" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html1110" HREF="node467.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION020132000000000000000"></A> <A NAME="expressions_operators"></A><A NAME="operators"></A><A NAME="834"></A> <BR> Operators </H2> The operators in <B>gnuplot</B> are the same as the corresponding operators in the C programming language, except that all operators accept integer, real, and complex arguments, unless otherwise noted. The ** operator (exponentiation) is supported, as in FORTRAN. <P> Parentheses may be used to change order of evaluation. <BR><HR> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A> <UL> <LI><A NAME="tex2html1113" HREF="node27.html">Unary</A> <LI><A NAME="tex2html1114" HREF="node28.html">Binary</A> <LI><A NAME="tex2html1115" HREF="node29.html">Ternary</A> </UL> <!--End of Table of Child-Links--> <BR><HR> <ADDRESS> 2010-08-17 </ADDRESS> </BODY> </HTML>