Sophie

Sophie

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

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>Example datafile</TITLE>
<META NAME="description" CONTENT="Example datafile">
<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="node139.html">
<LINK REL="previous" HREF="node137.html">
<LINK REL="up" HREF="node115.html">
<LINK REL="next" HREF="node139.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html3060"
  HREF="node139.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3054"
  HREF="node115.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3048"
  HREF="node137.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3056"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3058"
  HREF="node467.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3061"
  HREF="node139.html">Index</A>
<B> Up:</B> <A NAME="tex2html3055"
  HREF="node115.html">Data</A>
<B> Previous:</B> <A NAME="tex2html3049"
  HREF="node137.html">Every</A>
 &nbsp; <B>  <A NAME="tex2html3057"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3059"
  HREF="node467.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H3><A NAME="SECTION040142400000000000000"></A>
<A NAME="commands_plot_datafile_example"></A><A NAME="plot_datafile_example"></A><A NAME="plot_example"></A><A NAME="datafile_example"></A><A NAME="data-file_example"></A><A NAME="example"></A><A NAME="2900"></A>
<BR>
Example datafile
</H3>
This example plots the data in the file <TT>"</TT>population.dat<TT>"</TT> and a theoretical
curve:

<P>
<BR>
<PRE>
     pop(x) = 103*exp((1965-x)/10)
     plot [1960:1990] 'population.dat', pop(x)
</PRE>
<BR>

<P>
The file <TT>"</TT>population.dat<TT>"</TT> might contain:

<P>
<BR>
<PRE>
     # Gnu population in Antarctica since 1965
        1965   103
        1970   55
        1975   34
        1980   24
        1985   10
</PRE>
<BR>

<P>
<BR><HR>
<ADDRESS>

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