<!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>Set style increment</TITLE> <META NAME="description" CONTENT="Set style increment"> <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="node268.html"> <LINK REL="previous" HREF="node266.html"> <LINK REL="up" HREF="node261.html"> <LINK REL="next" HREF="node268.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html5047" HREF="node268.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html5041" HREF="node261.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html5035" HREF="node266.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html5043" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html5045" HREF="node467.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html5048" HREF="node268.html">Set style line</A> <B> Up:</B> <A NAME="tex2html5042" HREF="node261.html">Style</A> <B> Previous:</B> <A NAME="tex2html5036" HREF="node266.html">Set style function</A> <B> <A NAME="tex2html5044" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html5046" HREF="node467.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H3><A NAME="SECTION0402461500000000000000"></A> <A NAME="commands_set_style_increment"></A><A NAME="commands_show_style_increment"></A><A NAME="set_style_increment"></A><A NAME="show_style_increment"></A> <BR> Set style increment </H3> Syntax: <BR> <PRE> set style increment {default|userstyles} show style increment </PRE> <BR> <P> By default, successive plots within the same graph will use successive linetypes from the default set for the current terminal type. However, choosing <B>set style increment user</B> allows you to step through the user-defined line styles rather than through the default linetypes. <P> Example: <P> <BR> <PRE> set style line 1 lw 2 lc rgb "gold" set style line 2 lw 2 lc rgb "purple" set style line 4 lw 1 lc rgb "sea-green" set style increment user </PRE> <BR> <P> <BR> <PRE> plot f1(x), f2(x), f3(x), f4(x) </PRE> <BR> <P> should plot functions f1, f2, f4 in your 3 newly defined line styles. If a user-defined line style is not found then the corresponding default linetype is used instead. E.g. in the example above, f3(x) will be plotted using the default linetype 3. <P> <BR><HR> <ADDRESS> 2010-08-17 </ADDRESS> </BODY> </HTML>