\end{center \caption{An example with two curves on the same plot.\end{minipage $ –> <IMG STYLE="" SRC="img3.png" ALT="% latex2html id marker 626 \framebox[\boxwidth]{ \begin{minipage{\fullboxwidth... ...end{center\caption{An example with two curves on the same plot.\end{minipage"></DIV> </DIV>
<P> Here you will see that the <I>x</I> range was not specified. The <I>x</I> range is determined automatically, unless specified by the user. In this case, it is defined by the range of the data file <code>"eg3.dat"</code>. The function is plotted over the same range. If no data files or <I>x</I> range are supplied, the default range of [- 10 : 10] is used. We have also moved the key to a different position. The function <I>y</I> = <I>x</I> is plotted “with lines”, which is the default plot style for functions, and is shown here to illustrate the plot style option. The data file <TT>eg3.dat</TT> is plotted with style <TT>linespoints</TT>, a style like <TT>lines</TT> that also plots a symbol at each data point.
<P> There is a style called <TT>points</TT> that only plots the symbols at data points, and another called <TT>dots</TT> that plots a tiny dot for each data point. The <TT>points</TT> and <TT>linespoints</TT> styles produce a different point symbol for each curve on the plot (for up to twelve symbols, after which they are re-used; see Figure <A HREF="node8_ct.html#linepoint"><IMG ALT="[*]" SRC="crossref.png"></A> for a complete list). The <TT>lines</TT> and <TT>linespoints</TT> styles use a different line style for each curve on the plot (in this example the dots have different spacing). The style <TT>impulses</TT> draws a perpendicular from each point to the <I>x</I>-axis. Finally, the <TT>errorbars</TT> style can draw error bars at each data point (see the GNUPLOT manual).
<P>
<HR>
</BODY> </HTML>
This document was generated on November 24, 2024 using texi2html 5.0.