plot3d.1

来自「speech signal process tools」· 1 代码 · 共 715 行 · 第 1/2 页

1
715
字号
.\" Copyright (c) 1993 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)plot3d.1	1.10 01 Oct 1998 ERL.ds ]W (c) 1993 Entropic Research Laboratory, Inc..TH PLOT3D 1\-ESPS 01 Oct 1998.SH "NAME"plot3d \- interactive 3-d plots (perspective plots with hidden lines removed) of data from FEA files..SH "SYNOPSIS".B plot3d[.BI "\-d " depth] [\fB\-f "\fIfield\fB\^[\^\fIrange\fB\^]\^"\fR] [.BI "\-o " orientation] [.BI "\-r " range] [.BI "\-x " debug_level] [.BI "\-B " length , width , height] [.BR "\-I " { aAbBcCpP "}\ .\ .\ ."] [.BI "\-P " param] [.BI "\-R " bearing , elevation , rotation] [.BI "\-S " h_skew : v_skew] [.B "\-w " ] [ .B "\-M ".\" ] [.\" .BI "\-t " text.\" ] [.\" .BI "\-H " text.\" ] [.\" .BI "\-V " text.\" ] [.\" .BI "\-W " geometry.\" ] [.\" .BI "\-X " range.\" ] [.\" .BI "\-Y " range.\" ] [.\" .BI "\-Z " range].I file.SH "DESCRIPTION".PP.I plot3dreads data from a specified field of an ESPS FEA fileand constructs a three-dimensional plotof the data versus two independent variables.A plot of data from the.I re_spec_valfield of a FEA_SPEC file, for example,could show time along one axis, frequency along another axis,and spectral power density (or its log) along the third axis.In general, the.IR x -axiscorresponds to the order of records in the file,the.IR y -axiscorresponds to the order of elements in the field,and the.IR z -axisrepresents the data values.The three-dimensional plot is rendered in a window on the screenas a perspective drawing..PPThe user has complete controlover the scaling, orientation, depth of perspective, and angle of viewof the plot.These plotting parameters are set initiallyby command-line options or values in an ESPS parameter file,but they can be adjusted interactivelywith mouse-operated sliders and other controls in a control-panel window,or with mouse movements in the plot window.Operating the controlscauses a wire-frame drawing of the bounding box of the plotto move and change size accordingly,and clicking on a button in the control-panel windowcauses the plot to be redrawn with the new parameters.The current set of parameters can be saved to a file so that other plotsmay later be drawn with the same viewpoint.Saved parameter sets may be loaded from a file at any time..PPData may be loaded from a file interactively;the file name, range of records to be read, field name,and range of items in the field may all be respecified..PPA moving cursor, controlled by the mouse,allows the coordinates of points of the graph to be read off numerically..PPIn addition to the display on the user's screen; the plot image may besaved in a file, so that it can be printed or imported into a word processingsystem.  The plot image can be saved as either PostScript or PCL.   It canbe directly sent to a printer, if there is no need to save the image file..SH "OPTIONS".PPThe following options are supported.  Values in brackets are defaults. .TP.BI "\-d " depth " \fR[50]"Depth of perspective.A value of 0 corresponds to projection of the 3-dimensional plotonto the 2-dimensional plotting surface from an infinite distance\c.RI \*- i.e.parallel projection.Positive values of.I depthcorrespond to projection from inversely proportional finite distanceswith the result that foreground featuresare shown at a somewhat larger scale than features farther from the viewer.The default value of 50 is reasonable for normal viewing distances.Large values produce highly exaggerated perspective effects..TP\fB\-f "\fIfield\fB\^[\^\fIrange\fB\^]\^"\fR ["re_spec_val[0:<\fIlast\fR>]"].TP.BI "\-f " fieldName of a field in an ESPS FEA fileand range of elements in field to be plotted.(Numbering of field elements starts with 0.)The quotes are needed onlyto suppress the shell's usual special interpretation of brackets.The bracketed.I range,if present, may have any of the forms acceptable to.IR range_switch (3-ESPSu)..RS.TP.I elementA single integer specifies a single field element(not at present useful with.IR plot3d )..TP.IB first : lastA pair of integers specifies an inclusive range of elements..TP.IB first :+ incrThe form with the plus sign is equivalent to.IB first : lastwith.IR last " = " first " + " incr..RE.IPIf the specified range contains elements not present in the field,the range is reduced as necessary..TP.BI "\-o " orientation " \fR[L]"Left-handed coordinate system ("L") or right-handed ("R")?When the axes are in their default initial position,record number increases with distance from the viewer,element number increases from left to right,and data values increase in the upward direction.For some possible positions,a mirror-reflected orientation may seem more natural.Specifying.I Rinstead of.I Leffectively reverses the direction of the.I y(element number) axis..TP.BI "\-r " range " \fR[1:<\fIend of file\fR>]"Range of records in the file to be read and plotted(counting the first as number 1.)The allowable forms for.I rangeare those for.IR range_switch (3-ESPSu);see the discussion of.B \-fabove or the.I range_switchmanual entry..TP.BI "\-x " debug_level " \fR[0]"Values greater than 0cause various debugging messages to be printed as the program runs.Larger values call out more messages.The default level of 0 suppresses all debugging messages..TP.BI "\-B " length , width , "height \fR[400,250,150]"Dimensions, in pixels, of a rectangular box that bounds the 3-d plot(except for axis labels and the like)..TP.BR "\-I " { aAbBcCpP "} . . ." " \fR[abcp]"Initial actions, taken when the plot window is first brought up.Draw axes (a, A), draw bounding box (b, B), bring up control panel (c, C),or plot data (p, P).A lower-case letters (a, b, c, p) invokes the action,and upper-case (A, B, C, P) suppresses it..TP.BI "\-P " param_file " \fR[params]"Name of parameter file to be read initially..TP.BI "\-R " bearing , elevation , "rotation \fR[45.00,35.26,0.00]"Three angles of rotation (measured in degrees)that describe the relative positionsof the 3-dimensional plot and the 2-dimensional plotting window.The.I bearingand.I elevationdetermine the direction, relative to the 3-dcoordinate system, of the line normal to the window at its center.Changing the bearing lets you look at the plot from various sides,and increasing the elevation lets you look at it from the top.The third degree of freedom,.I ``rotation,''corresponds to a rotation about the line normal to the window at its centerand for most purposes is probably best set equal to 0..TP.BI "\-S " h_skew : v_skew " \fR[0,0]"Changing.I h_skewmoves the front parts of the plot one way horizontallyand the back parts of the plot the opposite way,in proportion to the distance forward or backwith respect to the plane of the plot window.The effect is somewhat similar to adjusting.I bearing.RB ( \-Rabove) in that both adjustmentslet you see more or less of the left or right side of the plot.However, adjusting.I h_skewdoes not produce a rotation:planes parallel to the plane of the plot window remain so.Similarly, changing.I v_skewmoves the front parts of the plot one way verticallyand the back part of the plot the opposite way.The effect is somewhat similar to adjusting.I elevationin that both adjustments let you see more or less of the top of the plot.However, adjusting.I v_skewdoes not produce a rotation of planes parallel to the plot window..TP.B \-wThis option causes \fIplot3d\fR to attempt to connect to an\fIxwaves\fR(1\-ESPS) running with its server mode enabled.   Ifthis connection is made, then \fIplot3d\fR will send cursor movement commandsto \fIxwaves+\fR to maintain cursor time alignment between the view in\fIplot3d\fR and the view in \fIxwaves+\fR.   Note that \fIplot3d\fR hasno way of knowing if the files being viewed in \fIplot3d\fR and\fIxwaves+\fR are related and if the time alignment makes sense.A side effect of invoking this mode is to put the axis into time andfrequency display mode.   If the information in the displayed filecannot support this mode then the \fB-w\fR option is ignored.   Forexample, if the displayed file has no \fIrecord_freq\fR generic then thenit cannot send time cursor movements to \fIxwaves+\fR.   If the displayed file, is not aFEA_SPEC file, then it cannot send frequency cursor movements to\fIxwaves+\fR.  .spWhen this option is used, the environment variable \fBWAVES_HOST\fR isread to determine the name of the host that is running the \fIxwaves\fRserver.   If \fBWAVES_HOST\fR is undefined, then the connection isattempted to an \fIxwaves+\fR on the same host as \fIplot3d\fR is runningon.   The default socket port number of the attempt is determined by aESPS wide default which is compiled in.    If the environment variable\fBWAVES_PORT\fR is defined, then its value is used instead as thesocket port. This program uses the facility of\fIsend_xwaves\fR(3\-ESPS).  See its manual page for details..TP .B \-MThis option forces \fIplot3d\fP to paint everything in black and white (monochrome), useful if you're doing screendumps.  .\" .TP.\" .BI "\-t " text.\" Title to be printed along the.\" .IR y- axis..\" .TP.\" .BI "\-H " text.\" Title to be printed along the.\" .IR x- axis..\" .TP.\" .BI "\-V " text.\" Title to be printed along the.\" .IR z- axis..\" .TP.\" .BI "\-X " range.\" .\" .TP.\" .BI "\-Y " range.\" .\" .TP.\" .BI "\-Z " range.SH "ESPS PARAMETERS".PPThe parameter file is not required to be present,as there are default values for all parameters.If the file exists, the parameters below may be read.These provide an alternative way of specifying quantitiesthat can also be determined by command-line options.The general rule is that if a command-line option is specified,it takes precedence;if the command-line option is not specified,then the parameter file is consulted;and if a quantityis not given either on the command line or in the parameter file,then a default is used.Eventually this program will support parameter-file entries correspondingto all command-line options except.B \-xand.BR \-P .These parameters may also be adjusted interactively from the control panel.Current values may be saved to a file,and new values may be read from a file interactively.(See the discussion of the.I load paramsand.I save paramsitems on the.I filesbutton menu under "Control Panel and Menus" below..TP.I box_length \- integer.TP.I box_width \- integer.TP.I box_height \- integerThese correspond to the arguments.I length,.I width,and.I heightof the.B \-Boption..TP.I depth \- floatThis corresponds to the argument of the.B \-doption..TP.I horizontal_skew \- float.TP.I vertical_skew \- floatThese correspond to the arguments.I h_skewand.I v_skewof the.B \-Soption..TP.I orientation \- stringThis corresponds to the argument of the.B \-ooption.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?