📄 plotpit.1
字号:
.TH PLOTPIT 1-SPS 9/29/86\"@(#)plotpit.1 1.2 9/29/86 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"] [.BI \-m " maxpnts"] [.BI \-t " text"]*.I pitfile.SH DESCRIPTION.PP.I Plotpitplots a portion of a sampled data file together with lines marking pitchpulse positions in that file. Actually, .I plotpitgenerates commands that are suitable for.IR plotas (1)or.IR stou (1).By 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 .I x\-and .IR y\- axes.These automatic values can be overriden by the .B \-yor.B \-Y options. .PPWhen .IR stou "(1) and".IR mcd (1)are used to plot 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 SPS.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..SH EXAMPLES.TP.BI "plotpit " <options> " | stou | mcd"plots on the Masscomp display..TP.BI "plotpit " <options> " | plotas | tpen | ipr -Ltektronix"plots on the Imagen.TP.BI "plotpit " <options> " | stou | tek | ipr -Ltektronix"also plots on the Imagen, but a scaling factor may need to be specified for tek. .TP.BI "plotpit " <options> " | plotas | tpen"plots on a Tektronix terminal.TP.BI "plotpit " <options> " | stou | tek"also plots on a Tektronix terminal. .SH "SPS COMMON"The following items are read from the SPS 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 SPS 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 (x-coordinate)..sp.I "endplot - integer".IPThe end point of the graph (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 SPS common values apply. .PP.SH "SPS 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 SPS 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\-SPS), .IR plotsdm (1\-SPS), .IR plotsdi (1\-SPS), .IR mlplot (1\-SPS), .IR genplot (1\-SPS), .IR stou "(1),\ " .IR plotas "(1),\ ".IR mcd "(1),\ ".IR tek "(1).\ ".SH AUTHOR.nfJoseph T. Buck, Entropic Processing, Inc.Option \fB\-e\fP added by Bernard G. Fraenkel.Converted for new SPS format by Rod Johnson.Modified for SPS Common, -m, and -Y by John ShoreManual page revised by John Shore.fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -