A sample latex file labreport.tex is available. You should use this as a template for preparing you lab report. It also shows how to put Postscript figures in the document.
You can use gnuplot to display your data as a Postscript figure. The steps involved are described below.
1. Using gnuplot to make Postscript figures. The steps involved are shown below.
[somnath@cts mathphy]$ gnuplotThis produces a Postscript figure called fig.ps.G N U P L O T
Linux version 3.7
patchlevel 1
last modified Fri Oct 22 18:00:00 BST 1999Copyright(C) 1986 - 1993, 1998, 1999
Thomas Williams, Colin Kelley and many othersType `help` to access the on-line reference manual
The gnuplot FAQ is available from
<http://www.ucc.ie/gnuplot/gnuplot-faq.html>Send comments and requests for help to <info-gnuplot@dartmouth.edu>
Send bugs, suggestions and mods to <bug-gnuplot@dartmouth.edu>Terminal type set to 'x11'
gnuplot> plot sin(x)
gnuplot> set output 'fig.ps'
gnuplot> set terminal postscript
Terminal type set to 'postscript'
Options are 'landscape noenhanced monochrome dashed defaultplex "Helvetica" 14'
gnuplot> replot
gnuplot> quit
[somnath@cts mathphy]$
2. To run Latex on labreport.tex execute the command:
latex labreport.texthis requires the Postscript file fig.ps to be already there in the same directory as labreport.tex. This prodoces a file called labreport.dvi3. To see the .dvi file execute the command
xdvi labreport.dvi4. The ,dvi file can be converted to a Postscript file by executing the commanddvips -o labreport.ps labreport.dvi5. The Postscript file can be viewed usinggv labreport.psthe Postscript file may also be printed out or submitted as an attachment through email.