next up previous contents
Next: Introduction to LaTeX Up: New User Documentation Center Previous: Gnuplot Exercises

Key to Gnuplot exercises

Key

        G N U P L O T
        unix version 3.0
        patchlevel 1, Dec 1 91
        last modified Sun Dec 1 16:56:36 1991
        Copyright (C) 1986, 1987, 1990, 1991  Thomas Williams, Colin Kelley

        Send bugs and comments to root@cec.mtu.edu

Terminal type set to 'x11'
gnuplot> plot sin(x)
gnuplot> replot cos(x)
gnuplot> set title "SINE AND COSINE"
gnuplot> replot
gnuplot> plot sin(x) title "sin(x)", cos(x) title "cos(x)"
gnuplot> save "test.1"
gnuplot> set polar
gnuplot> replot
gnuplot> set grid
gnuplot> replot
gnuplot> set nogrid
gnuplot> replot

-----------------------------------------------------------------------

        G N U P L O T
        unix version 3.0
        patchlevel 1, Dec 1 91
        last modified Sun Dec 1 16:56:36 1991
        Copyright (C) 1986, 1987, 1990, 1991  Thomas Williams, Colin Kelley

        Send bugs and comments to root@cec.mtu.edu

Terminal type set to 'x11'

gnuplot> plot "file1"
gnuplot> set data style linespoints
gnuplot> replot
gnuplot> set data style lines
gnuplot> replot
gnuplot> set log
gnuplot> replot
gnuplot> plot "file2" using 2:5
gnuplot> plot "file2" using 5:2
gnuplot> replot
gnuplot> set data style lines
gnuplot> replot
gnuplot> plot "file2" using 2:5
gnuplot> replot
gnuplot> save "out.1"

LaTeX Summary


Darla K. Kuras
Thu Jul 23 11:09:59 EDT 1998