<!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>Backwards compatibility</TITLE> <META NAME="description" CONTENT="Backwards compatibility"> <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="node15.html"> <LINK REL="previous" HREF="node6.html"> <LINK REL="up" HREF="node2.html"> <LINK REL="next" HREF="node15.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html934" HREF="node15.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html928" HREF="node2.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html922" HREF="node13.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html930" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html932" HREF="node467.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html935" HREF="node15.html">Batch/Interactive Operation</A> <B> Up:</B> <A NAME="tex2html929" HREF="node2.html">Gnuplot</A> <B> Previous:</B> <A NAME="tex2html923" HREF="node13.html">New smoothing algorithms</A> <B> <A NAME="tex2html931" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html933" HREF="node467.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION02050000000000000000"></A> <A NAME="backwards_compatibility"></A><A NAME="compatibility"></A><A NAME="235"></A> <BR> Backwards compatibility </H1> Gnuplot version 4.0 deprecated certain syntax used in earlier versions, but continued to recognize it. This is now under the control of a configuration option, and can be disabled as follows: <P> <BR> <PRE> ./configure --disable-backwards-compatibility </PRE> <BR> <P> Notice: Deprecated syntax items may be disabled permanently in some future version of gnuplot. <P> One major difference is the introduction of keywords to disambiguate complex commands, particularly commands containing string variables. A notable issue was the use of bare numbers to specify offsets, line and point types. Illustrative examples: <P> Deprecated: <BR> <PRE> set title "Old" 0,-1 set data linespoints plot 1 2 4 # horizontal line at y=1 </PRE> <BR> New: <BR> <PRE> TITLE = "New" set title TITLE offset char 0, char -1 set style data linespoints plot 1 linetype 2 pointtype 4 </PRE> <BR> <P> <BR><HR> <ADDRESS> 2010-08-17 </ADDRESS> </BODY> </HTML>