home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TopWare 18: Liquid
/
Image.iso
/
liquid
/
top1184
/
gepackt.exe
/
MULPOL.PLT
< prev
next >
Wrap
Text File
|
1994-02-22
|
733b
|
50 lines
# mulpol.plt - multiple polynomials
paper size 11 by 8.5
nobeep
char size 0.1
map x 0 50 y -4000000 4000000
divi x 5,5 y 4,5
format x 0 y 0
data from file 'lab4.dat'
draw x y
frame
xlabel 'change in position (cm)'
ylabel 'Energy (ergs)'
plot x y add
pen color yellow
polyfit 1
pen color green
column 3 is y
pen style 5
plot x y add
pen color yellow
polyfit 1
pen color green
column 4 is y
pen style 3
plot x y add
pen color yellow
polyfit 1
pen color green
pen style 1
legend framed at 6.5 3.5
pen style 1 'Kinetic Energy'
pen style 5 'Potential Energy'
pen style 3 'Total Mechanical Energy'
end
color lblue
char font 3 size 0.2 slant 10
title 'Multiple Polynomial Fits'