Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 591c941c2fdf0a32dc57bb5f10791cde > files > 263

gnuplot-doc-4.4.0-5.fc14.noarch.rpm

<!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>Errorlines</TITLE>
<META NAME="description" CONTENT="Errorlines">
<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="node161.html">
<LINK REL="previous" HREF="node159.html">
<LINK REL="up" HREF="node113.html">
<LINK REL="next" HREF="node161.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html3377"
  HREF="node161.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3371"
  HREF="node113.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3365"
  HREF="node159.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3373"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3375"
  HREF="node467.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3378"
  HREF="node161.html">Parametric</A>
<B> Up:</B> <A NAME="tex2html3372"
  HREF="node113.html">Plot</A>
<B> Previous:</B> <A NAME="tex2html3366"
  HREF="node159.html">Errorbars</A>
 &nbsp; <B>  <A NAME="tex2html3374"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3376"
  HREF="node467.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION040144000000000000000"></A>
<A NAME="commands_plot_errorlines"></A><A NAME="commands_splot_errorlines"></A><A NAME="plot_errorlines"></A><A NAME="splot_errorlines"></A><A NAME="errorlines"></A><A NAME="3314"></A>
<BR>
Errorlines
</H2>
Lines with error bars are supported for 2D data file plots by reading
one to four additional columns (or <B>using</B> entries); these additional
values are used in different ways by the various errorlines styles.

<P>
In the default situation, <B>gnuplot</B> expects to see three, four, or six
numbers on each line of the data file -- either

<P>
<BR>
<PRE>
     (x, y, ydelta),
     (x, y, ylow, yhigh),
     (x, y, xdelta),
     (x, y, xlow, xhigh),
     (x, y, xdelta, ydelta), or
     (x, y, xlow, xhigh, ylow, yhigh).
</PRE>
<BR>

<P>
The x coordinate must be specified. The order of the numbers must be
exactly as given above, though the <B>using</B> qualifier can manipulate
the order and provide values for missing columns. For example,

<P>
<BR>
<PRE>
     plot 'file' with errorlines
     plot 'file' using 1:2:(sqrt($1)) with xerrorlines
     plot 'file' using 1:2:($1-$3):($1+$3):4:5 with xyerrorlines
</PRE>
<BR>

<P>
The last example is for a file containing an unsupported combination
of relative x and absolute y errors. The <B>using</B> entry generates
absolute x min and max from the relative error.

<P>
The y error bar is a vertical line plotted from (x, ylow) to (x,
yhigh). If ydelta is specified instead of ylow and yhigh, ylow = y -
ydelta and yhigh = y + ydelta are derived. If there are only two
numbers on the record, yhigh and ylow are both set to y. The x error
bar is a horizontal line computed in the same fashion.

<P>
The error bars have crossbars at each end unless <B>set bars</B> is used
(see <B>set bars (p.&nbsp;<A HREF="node181.html#set_bars"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)<A NAME="3325"></A></B> for details).

<P>
If autoscaling is on, the ranges will be adjusted to include the error bars.

<P>
See <B>plot using (p.&nbsp;<A HREF="node151.html#plot_using"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)<A NAME="3327"></A></B>, <B>plot with (p.&nbsp;<A HREF="node165.html#plot_with"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)<A NAME="3329"></A></B>, and <B>set style (p.&nbsp;<A HREF="node261.html#set_style"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)<A NAME="3331"></A></B> for more information.
<HR>
<!--Navigation Panel-->
<A NAME="tex2html3377"
  HREF="node161.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3371"
  HREF="node113.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3365"
  HREF="node159.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3373"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3375"
  HREF="node467.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3378"
  HREF="node161.html">Parametric</A>
<B> Up:</B> <A NAME="tex2html3372"
  HREF="node113.html">Plot</A>
<B> Previous:</B> <A NAME="tex2html3366"
  HREF="node159.html">Errorbars</A>
 &nbsp; <B>  <A NAME="tex2html3374"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3376"
  HREF="node467.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>

2010-08-17
</ADDRESS>
</BODY>
</HTML>