#
# testfile for plotfield
#
# @(#)testfile	1.3 1/11/88 ESI
#
atosps - rc.fana << XXX 
{
01 d
02 6a1a
03 Tue Dec  8 15:40:50 1987 
04 1.51
05 fea_edit
06 3.1
07 10/16/87
53 parker
08 1
09 1
0b e
0c 2
0d 1
10 rc.fana
12 fea_edit rc.fana 

 Converted from rc.fana by spstoa.
52
1 2 0
frame_len LONG 1 0 
num_pulses LONG 1 0 
frame_type CODED 1 0 
 NONE
 UNKNOWN
 VOICED
 UNVOICED
 SILENCE
 TRANSITION
voiced_fraction FLOAT 1 0 
raw_power FLOAT 1 1 
lpc_power FLOAT 1 1 
p_pulse_len FLOAT 1 1 
spec_param FLOAT 10 1 

@nan LONG 1 8000 
@order SHORT 1 10 
@src_sf FLOAT 1 8000 
@method CODED 1 [ NONE AUTOC BURG COV MBURG STRCOV VBURG ] AUTOC 
@frmlen LONG 1 200 
@maxlpc LONG 1 1 
@spec_rep CODED 1 [ NONE RC LAR LSF AUTO AFC CEP AF ] RC 
@order_vcd LONG 1 0 
@maxraw LONG 1 1 
@start LONG 1 1 
@filters CODED 1 [ NO YES ] NO 
@order_unvcd LONG 1 10 
@DC_removed CODED 1 [ NO YES ] NO 
@maxpulses LONG 1 1 

}

#Tag 1
#frame_len	200 
#num_pulses	0 
#frame_type	NONE 
#voiced_fraction	0 
#raw_power	274850 
#lpc_power	260016 
#p_pulse_len	0 
#spec_param	-4 -3 -2 -1 0 1 2 3 4 5
XXX

plotfield -fspec_param rc.fana
echo 
echo
echo this plot should be a straight line from -4 to 5
echo hit return to continue
read a
clear
echo this should complain that it cannot open the file
plotfield -fspec_param foo.ana
echo this should complain about foo not being a valid field
plotfield -ffoo rc.fana

echo this is plotfield without a -f flag
plotfield rc.fana

rm rc.fana
