📄 mcd.1
字号:
.\" Copyright (c) 1986-1990 Entropic Speech, Inc..\" Copyright (c) 1991 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)mcd.1 3.4 8/2/91 ESI/ERL.ds ]W (c) 1991 Entropic Research Laboratory, Inc..TH MCD 1\-ESPS 8/2/91.SH "NAME"mcd \- Sun filter for plot data in Unix GPS format and interactive plot/play program when used with plotsd.SH "SYNOPSIS".B mcd[.BI \-r " region"] [.B \-u] [.BI \-x " level"] [.BI \-R] [.BI \-i " icon file"] [ .BI \-P] [.BI \-p " play options"] [.I file.gps].SH "DESCRIPTION".PP.I Mcdreads plot data in Unix Graphic Primitive String (GPS) format and displaysthe plot in a Sun window. The program emulates a subset of the functionsof the Masscomp program of the same name..I Mcdis intended to be invoked in a.IR shelltool (1), or.IR cmdtool (1)window and creates a new window for the plot. The initial size of the window is 24 by 80 characters (using the standard Sun font), but itmay be adjusted by the user to any size (width or height) by using the \fIresize\fR function on thefrom the \fIsuntools\fR menu obtained by pressing the right mouse buttonwhile pointing to the title bar of the plot window. All of the other standard \fIsuntools\fR menu items are available through that menu, includingmoving, closing (reducing the window to an icon), and quiting..PP.I Mcdincludes the function of the ESPS Masscomp \fIrange\fR program. This feature supports the selection of arange from the plot, zooming in, zooming out, and calling the ESPS playprogram on sections of the plot. See the \fB\-R\fR and the \fB\-P\fRoptions below.Normallythese features are only used by the ESPS script that implements \fIplotsd(1\-ESPS)\fR..PP.I Mcduses the SunView window system calls, and remains active after drawingthe plot. This is so that the plot can be resized, refreshed, or moved.To exit use the \fIquit\fR function on the main frame menu (click theright mouse button on the frame title bar at the top of the window). Ifyou want to regain control of the shell window without removing the plotwindow, then be sure to run \fImcd\fR as a subprocess by putting a\fB&\fR after the command..PPOutput from the programs.IR mlplot (1\-ESPS)and.IR genplot (1\-ESPS)can be displayed with.I mcd;files written by the Masscomp.IR plot (1G)program and the graphics editor.IR ged (1G)are also acceptable input.The ESPS programs.IR plotsd (1\-ESPS),.IR plotspec (1\-ESPS),.IR mlplot (1\-ESPS),and.IR genplot (1\-ESPS)use.I mcdinternally to implement their.B \-Tmcdoption..PPIf.I file.gpsis `\-' or is omitted, standard input is used..SH OPTIONS.TP.BI \-r " region"Scale the plot so that graphing region number.I regionjust fits in the window.Valid values are 1\-25..TP.B \-uScale the plot so that the entire graphing universejust fits in the window..PPThe.B \-rand.B \-uoptions are mutually exclusive.The default behavior, in case neither is selected,is to scale the plot so that the actual plot just fits in the window..TP.BI \-RCause \fImcd\fR to go into \fIselect/range\fR mode, after drawing the plot. This mode is used with some plot programs (\fIplotsd\fR(1\-ESPS)) and iscalled directly by the ESPS plot program. When used this way, \fImcd\fRallows the user to select a range from a sampled data plot that is currently displayed and to enter that range into theESPS Common file. It can also be used with \fIplotsd\fR and \fIplay\fR as an interactiveplot/play program.After \fIplotsd\fR is used to display a sampled data plot in a window,\fImcd\fR displays instructions at the top of the display. The program is now in what we will call \fIselect mode\fR.At this point, the left mouse button will select the starting point ofthe range, the middle button will call the \fIplay\fR program on theentire displayed plot (if the \fB\-P\fR option is used), and the right buttton will zoom out the plot(replot the entire sampled data file). After the starting point of the range is selected (with the left button)the current rangewill be displayed at the top of the screen as the mouse is movedacross the graph. The program is now in \fIrange mode\fR.In this mode pressing the left button will zoom in on the selectedrange (replot the sampled data file using the selected range). Themiddle button will save the selected range into the Common file.The right button will abort the current range and allow you toreselect the starting point again (that is it returns to \fIselect mode\fR). .TP.BI \-PIf the \fB\-P\fR option is used, then \fImcd\fR will call the\fIplay\fR program, instead of just saving the selected rangewhen the middle button is pressed in \fIrange mode\fR. This causes theselected range to by played (assuming of course, that your system hasplayback capability and the ESPS \fIplay\fR program has been correctlyconfigured). When \fIplay\fR returns, if the mouse has not been moved,pressing the middle button again will save the range into Common.If the mouse has moved, then the program simply remains in\fIrange mode\fR..PPThe ESPS Common file is updated whenever the plot is redrawn (zoomin or out), or when a segment is played. This could be useful whenrunning \fIplotsd/mcd\fR in one window and another ESPS program thatuses Common in another window.The top line of the display always tells what the mouse buttons will doin each mode.To exit at anytime, use the \fIquit\fR function on the SunView framemenu..TP.BI \-p " play options"This character string is passed to the \fIplay\fR program on its commandline, each time \fIplay\fR is called. Enclose the etire argument inquotes..TP.BI \-x " level"Print debugging messages to standard error\-more messages at higher levels.The default is 0 (no messages)..PP In most cases, these options are used by other ESPS programs and notused directly by user's. See the \fIplotsd\fR(1\-ESPS) script for anexample of the usage of this program..SH "ESPS PARAMETERS"No ESPS parameter file is read..SH ESPS COMMONThe following items are read from the ESPS Common file:.IP.I "beginplot - integer".IPThis is the x-coordinate position at the origin of the graph..sp.I "endplot - integer".IPThis is the x-coordinate position at the end point of the graph..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..PPThe ESPS Common file is updated everytime \fIplay\fR or \fIplotsd\fR iscalled by \fIrange\fR..PPESPS Common processing may be disabled by setting the environment variableUSE_ESPS_COMMON to "off" (though it would be pointless to do so when usingthis program). The default ESPS Common file is.espscom in the user's home directory. This may be overidden by settingthe environment variable ESPSCOM to the desired path. User feedback ofCommon processing is determined by the environment variable ESPS_VERBOSE,with 0 causing no feedback and increasing levels causing increasinglydetailed feedback. If ESPS_VERBOSE is not defined, a default value of 3 isassumed..SH "ESPS HEADERS".PPNo ESPS file headers are read or written..SH "ESPS PARAMETERS".PPNo parameter file is read..SH "SEE ALSO".PPplotsd(1\-ESPS), plotspec(1\-ESPS), mlplot(1\-ESPS), plotspec(1\-ESPS).SH "FUTURE CHANGES".PPImplement more of the GPS primitives and expand to a more generalGPStool..SH "DIAGNOSTICS".PP.nfusage: mcd [\-r region][\-u][-R][-P][-p][\-x level] [file.gps]mcd: unexpected end of file.mcd: can't open \fIfilename\fP: \fIreason\fP.SH "BUGS".PPOnly a minimal set of the GPS primitives is implemented..SH "AUTHOR"Rodney Johnson and Alan Parker.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -