![]() |
PHYS 310 - Experimental Physics |
fit [x1:x2] f(x) "file.dat" via a,b,c
x1
and x2
give the range of data to
be fit, f(x)
is a
previously defined function (or the function itself),
file.dat
is the data file, and a
,
b
, and c
are the parameters to be
fit.set term postscript eps
set output "filename.eps"
replot
set term x11
set term postscript eps 28
template.tex
to a working file,
say paper.tex
:% cp sample.tex paper.tex
paper.tex
:% gedit paper.tex &
% latex paper.tex
% latex paper.tex
.dvi
file:% xdvi paper.dvi &
paper.pdf
):% dvipdf paper.dvi
template.tex
to a working file,
say paper.tex
:% cp sample.tex paper.tex
paper.tex
:% gedit paper.tex &
(or use your editor)
% latex paper.tex
% pdflatex paper.tex
.pdf
file:% xpdf paper.pdf &
(or use your favorite
viewer)