📄 ,mlplot.1
字号:
.\" %W% %G%.TH MLPLOT 1-ESPS %G%.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH "NAME"mlplot - plot long sampled data files in multiline format.SH "SYNOPSIS".B mlplot[.BI \-a " range"] [.BR \-m { cpv }] [.BI \-p " range"] [.BI \-l] [.BI \-s " int"] [.BI \-t " int"].br[.BI \-x " scale"] [.B \-z] [.BI \-P " file.esps"] [.BI \-X " text"] [.BI \-Y " text"] [.BI \-d " device"].br[.BI \-o " outdir"] [.BI \-n] [.BI \-D " debug level"] [.I file1.sd file2.sd ... filen.sd].SH "DESCRIPTION".PP.I Mlplotreads.I nESPS sampled data files.I file1.sdto.I filen.sdand produces an.IR xy-plotof sample value.I vs.sample number.If.I file1.sdis ``\-'', the standard input is read along with any other file namesspecified.The standard input is also read if no files names are specified and the.B \-Poption is not given.If no input file names are specified, but an ESPSfile containing tags is given with the.B \-Poption, then the first source file named in its headeris used as an input Sampled Data file..PPOutput is a stream of plotter commands written to the standardoutput.The default output is in Graphics Primitive String (GPS)format suitable for displaying plots on a MASSCOMP graphics terminal.The output format can be changed by specifying a different devicename with the \fB\-d\fP option.The output format is suitable for anImagen ``Image Station'' laser printer in Tektronix-4014 emulation modeif ``imagen'' is the device name specified using the \fB\-d\fP option..PPThe abscissas are scaled so that the spacing between plotted pointsis an exact integer number of device resolution units in thehorizontal direction.If the required number of points will not fitin the available width of the page, the plot is continued on a second``line'': a second set of axes lined up below the first.If morecontinuation lines are needed than will fit on one page, the plot iscontinued on additional pages..PPIf the graph is to be displayed on a MASSCOMP graphics terminal, thena page corresponds to a \fIregion\fP in MASSCOMP universe coordinatesand up to 25 regions can be displayed simultaneously on the screen.If the \fB\-o\fP option is specified, then a directory is createdwith the name given by \fIoutdir\fP and a file is created for eachpage (region) generated.Note, the \fB\-o\fP option only applies ifthe device name specified is ``gps'' (the default) and the output is\fIalso\fP sent to stdout for viewing the whole graph in the\fIuniverse\fP (this can be restricted by the \fB\-n\fP option). .SH "ESPS PARAMETERS".PPThis program does not access the parameter file..SH "ESPS HEADERS"The following items of the input sampled-data file header areaccessed: .I common.type,.I common.ndrec,.I common.ndouble,.I common.nfloat,.I common.nlong,.I common.nshort,.I common.nchar,and.I common.tag.If the.B \-Poption is specified, the following items of the fileheader are accessed: .IR variable.source [0]and.I common.tag. .SH "OPTIONS"The following options are suported.Values in brackets are defaults. .TP.BI \-a " upper" ":" "lower".TP.BI \-a " limit"Amplitude range.Specifies sample values for the upper and lower.IR y- axislimits.The second form is equivalent to.BI \-a " \-limit" ":" "limit."If the option is omitted, or if both limits are omitted,.RB ( \-a: )then a default range for each file is computed from the data.If one limit is omitted,a default limit for each file is computed from the data..TP.BI \-d " device [gps]"The output device types currently supported are ``gps''(the default), ``imagen'' and ``tek''..TP.BI \-D " debug level"Print diagnostic messages as program runs (for debugging purposesonly)..TP.BR \-m { pvc "} [c]"``Mode.'' Selects one of 3 styles..RS.TP.B cConnected.Successive data points are connected by straight lines..TP.B pPoint.Individual data points are plotted without connecting lines..TP.B vVertical line.Each point is connected to the .IR x- "axis (" y "=0)"by a vertical line..RE.TP.BI \-p " first" : "last" "\fR [(first in file):(last in file)]".TP.BI \-p " first" :+ "incr"In the first form, a pair of unsigned integers specifies the range ofsamples to be plotted.Either .I firstor.I lastmay be omitted; then the default value is used.If .IR last " = " first " + " incr,the second form (with the plus sign) specifies the same range as thefirst.If the specified range contains points not in the file, therange is reduced as necessary..TP.BI \-lIf this option is specified, then the sample values are plottedstarting with the range given by the.BI \-poption.Otherwise, the plots are plotted by an offset determined bythe number of horizontal resolution units..TP.BI \-nSuppress output to stdout when writing into a directory with the\fB\-o\fP option..TP.BI \-o " outdir"Create a directory named \fIoutdir\fP and write output pages(regions) into files named \fIpage1, page2, page3,\fP etc.Thisoption is only valid if the output device is gps. .TP.BI \-s " int" "\fR [1]"Samples in the input file are numbered starting with the given integer,rather than 1, for the first sample.This option may be specified.I mtimes, where.I mis less than or equal to the number of files to be plotted.Only the first.I mfiles will be affected by this option..TP.BI \-t " int" "\fR [100]"Number of samples per labeled tic mark on the.IR x- axis..TP.BI \-x " scale" "\fR [4]"Number of resolution units along the.IR x- axisbetween plotted samples.Must be an integer..TP.B \-zDo not draw the.IR x- "axis (" y "=0).".TP.BI \-P " file" "\fR [(no tagged file)]"Mark tag locations given in the named file.This option only applies to the first input file specifed or,if none are given,to the first source file of the file specified with this option.Any additional files are plotted without anytag markings..TP.BI \-X " text" "\fR [(none)]"Title to be printed at the bottom of each page..TP.BI \-Y " text" "\fR [(none)]"Title to be printed along the left edge of each page (running upward)..SH "EXAMPLES".PP%.B mlplot.BI \-d " imagen " \-p " 4555:9000 " \-l " flute.sd jesdec.sd | ".BI ipr " " \-Ltektronix.br# begin plot at sample 4555 and send output to be printed.br# on an Imagen laser printer.%.B mlplot.BI \-d " imagen " \-x " 1 " \-t " 300 file1.sd file2.sd | ".BI ipr " " \-Ltektronix.nf# Print two sampled data files on an Imagen laser printer# with 1 pixel per point resolution and tic marks every 300 samples..fi%.B mlplot.BI \-d " gps " \-o " FLUTE " \-n " flute.sd ".br.nf# create a directory called FLUTE to which to send the output, and# suppress output to stdout (\fB\-n\fP option).The files generated will# correspond to pages generated by the first example above.# To view the second page on a MASSCOMP Graphics terminal,# type the following:.fi%.BI mcd " FLUTE/page2".br# or.br%.BI ged " FLUTE/page2".br.nf# The latter command allows you to zoom into various parts of thegraph; see the DATA PRESENTATION APPLICATION PROGRAMMING MANUAL formore information concerning \fIged\fP..fi.SH "FILES".PPNone..SH "SEE ALSO".PP.I "plotsd genplot".SH "DIAGNOSTICS".PP.nfmlplot: unknown option \-\fIletter\fPUsage: mlplot [\-a range][\-m{cpv}][\-p range][\-t int][\-x scale][\-z][P file.esps][\-X text] [\-Y text][\-s int][\-l][\-o outdir][\-n][\-d device][file1.sd ...]mlplot: can't allocate memory for \fIn\fP pointsmlplot: can't open \fIfilename\fP: \fIreason\fPmlplot: \fIfilename\fP is not an ESPS filemlplot: \fIfilename\fP is not a sampled-data file.mlplot: \fIfilename\fP is not tagged.mlplot: empty amplitude range specified..SH "FUTURE CHANGES"Options to allow more control over format.More intelligent choiceof axis subdivisions.Selectionof default \fIy\fP-axis limits according to header information..SH "BUGS"Default for the.B \-toption should depend on the .IR x- scale.RB ( \-x " option).".br.SH "AUTHOR"Rodney W. Johnson and Ajaipal S. Virdy, Entropic Processing, Inc.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -