📄 plotpit.1
字号:
.TH PLOTPIT 1-ESPS @(#)plotpit.1 1.1 6/8/87\"@(#)plotpit.1 1.1 6/8/87 EPI.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Processing, Inc..SH NAMEplotpit - plot pitch pulse positions and sampled data.SH SYNOPSIS.B plotpit[.BI \-s " sdfile"] [.B \-e] [.BI \-x " debug_level"] [.BI \-p " range"] [.BI \-y " range"] [.BI \-Y " range"].br[.BI \-m " maxpnts"] [.BI \-t " text"]* [.BI \-T " device"].I pitfile.SH DESCRIPTION.PP.I Plotpitplots a portion of a sampled data file together with lines marking pitchpulse positions in that file.By default,the output is in Unix GPS (``Graphics Primitive String'') formatand is displayed on the Masscomp display,but with the.B \-Toption, this may be sent to the standard output,obtained in Tektronix format rather than GPS,or plotted on an Imagen laser printer..PPBy default, the sampled data file to beplotted is determined from the field.I variable.referin the header of.I pitfile, but an alternate sampled data file may be specified with the .B \-soption..PPIf the \fB\-p\fP option is omitted, then the \fIrange\fP is computedfrom the parameter and common files, otherwise the the entire file isused as the default range. A range from the common file is not usedunless the .I filenamein the common file matches the source SD file name from the pitch fileheader (or the name given with .B \-s). .PP.I Plotpitfinds the maximum and minimum values in the specified range and computes appropriate scales for the .IR x -and .IR y -axes.These automatic values can be overriden by the .B \-yor.B \-Y options. .PPWhen displayed on the Masscomp screen (see EXAMPLES, below), the plotswill take a long time if every point is plotted. For this reason, .I plotpitplots a maximum of approximately 3000 points across the range specified by the user (intermediate points are skipped). This behaviorcan be changed by means of the .B \-m option. .PP.I Plotpitwill run faster if the .B \-Yoption is used, especially in the case of large files. .SH OPTIONS.PPThe following options are supported:.TP.BI \-s " sdfile"Specifies the name of the SD file to plot with pitch marks from.I pitfile. If this option is not used, .I plotpittries to determine the SD file from the .I variable.referfield in the header of .I pitfile. .TP.B \-eCalls for plotting preemphasized data instead of the true data.The filter coefficients are sought in the.IR hd.pit \-> prefilterfield of the pitch-file header, in lieu of the old SDS.I hd_prefield, which does not exist under ESPS.The option is not currently useful (April, 1986) \- see ``Bugs'' below..TP.BI \-x " debug_level\fR [0]\fP"Sets the debugging level. If it is nonzero, the names of the two inputfiles are written to the standard error output. .TP.BI \-p " first:last".TP.BI \-p " first:+incrDetermines the range of points to be plotted. In the first form, apair of unsigned integers gives the first and last points of the range. If .I firstis omitted, 1 is used. If .I last is omitted, the last point in the file is used. The second form isequivalent to the first with .I "last = first + incr"..TP.BI \-y " low:high"Specifies approximate lower and upper limits for the .IR y -axis.The values are adjusted by .I plotpitin an attempt to make an esthetically pleasing plot. .TP.BI \-Y " low:high"Specifies exact lower and upper limits for the .IR y -axis..TP.BI \-m " maxpnts\fR [3000]\fP"Specifies that .I plotpitplot up to an approximate maximum of .I maxpnts points. If the total number of points in the .I rangeexceeds .I maxpnts,points are skipped evenly throughout. .TP.BI \-t " text"A line of text to be printed below the plot. Up to ten.B \-toptions may be specified; they are printed as text lines in order below theplot..TP.BI \-T " device".I Devicemay be.BR gps ,.BR mcd ,.BR tek ,or.BR imagen .The default is.BR \-Tmcd,which displays the output on the Masscomp screen by piping it through.IR mcd (1G).Specifying.B \-Tgpssends output to the standard output in Masscomp Unix GPS format.Specifying.B \-Ttekcauses output to be sent to the standard output in Tektronix 4000-seriesformat, and.B \-Timagenplots it on an Imagen laser printer in Tektronix 4014 emulation mode..SH EXAMPLES.IP.BI "plotpit " "<options> <filename>".PPis equivalent to.IP.BI "plotpit \-Tgps " "<options> <filename> " "| mcd".PPThe second form may be used if nondefault options for.I mcdare desired..SH "ESPS COMMON"The following items are read from the ESPS Common file. The values forstart and nan are not used if a range is specified on the command line orif the referenced sample data file is not the same file identified in theCommon file by the "filename" symbol. .IP.I "start - integer".IPThis is the starting point in the sampled data file to beginplotting. .sp.I "nan - integer".IPThis is the number of points (starting at .IR start ) to plot..sp.I "filename - string".IPThis is the name of the file to be displayed if \fIfile\fP is omittedfrom the command line..PPThe following items are written into the ESPS Common file:.IP.I "start - integer".IPThe left point in the range selected..sp.I "nan - integer".IPThe number of points in the selected range..sp.I "beginplot - integer".IPThe origin of the graph.RI ( x -coordinate)..sp.I "endplot - integer".IPThe end point of the graph.RI ( x -coordinate)..sp.I "prog - string".IPThis is the name of the program (\fIplotpit\fP in this case)..sp.I "filename - string".IPThis is the name of the file for which the ESPS common values apply. .PP.SH "ESPS HEADERS".PP.I Plotpitreads the .I common.type field from the SD and PIT file headers. It reads the followingadditional values from PIT file header: .I variable.refer,.I hd.pit\->start,.I hd.pit\->nan,.I hd.pit\->prefilter. .SH DIAGNOSTICS.PP.I Plotpitcomplains if there is no such pitch file or no such sampled data file,or if either file is not the right type.It also complains if there are too many.B \-toptions, or if it cannot allocate sufficient dynamic memory to hold the data. Finally, it complains (not always correctly \- see ``Bugs'' below)if it thinks the specified range of data points is in error..SH BUGS.PPIf the pitch file specified is in a different directory, and no explicitdirectory name was given when the pitch file was generated,.I plotpitmay not be able to find the right directory..PPThe preemphasis called for by the.B \-eoption is not exact if the preemphasis filter has a denominator ofnon-zero order and the data do not start at the beginning of the file.There are not currently any ESPS programs that write preemphasis filtercoefficients in the pitch-file header; the option will remain untestedand unusable until there are..PPA few points previous to the first specified may be plotted and may falloutside the frame drawn around the plot; likewise a few at the end of therange may be missed. If the starting point of the range is less than 3,.I plotpitwill fail..SH EXPECTED CHANGES.PPMany more options may be added..SH SEE ALSO.IR plotsd (1\-ESPS), .IR pltspec (1\-ESPS),.IR plotsdm (1\-ESPS), .IR plotsdi (1\-ESPS), .IR mlplot (1\-ESPS), .IR genplot (1\-ESPS), .IR mcd (1)..SH AUTHOR.nfJoseph T. Buck, Entropic Processing, Inc.Option \-e added by Bernard G. Fraenkel.Converted for new ESPS format by Rod Johnson.Modified for ESPS Common, \-m, and \-Y by John Shore.Manual page revised by John Shore.\-T option added by Rod Johnson..fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -