'\" .UL arg1 arg2
'\" Print arg1 underlined, then print arg2 normally.
'\"
-'\" RCS: @(#) $Id: man.macros,v 1.3 2001/02/17 07:46:19 ghowlett Exp $
+'\" RCS: @(#) $Id: man.macros,v 1.1.1.1 2009/05/09 16:27:42 pcmacdon Exp $
'\"
'\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages.
.if t .wh -1.3i ^B
.de UL
\\$1\l'|0\(ul'\\$2
..
-.TH stripchart n 2.4 BLT "BLT Built-In Commands"
+.TH stripchart n 2.5 BLT "BLT Built-In Commands"
.BS
'\" Note: do not modify the .SH NAME line immediately below!
.SH NAME
elements, legend, grid, cross hairs, pens, postscript, and annotation
markers.
.TP 1i
-\f(CWaxis\fR
+\fBaxis\fR
The stripchart widget can display up to four coordinate axes (two
X-coordinate and two Y-coordinate axes), but you can create and use
any number of axes. Axes control what region of data is displayed and
major and minor ticks, and tick labels. Tick labels display the value
of each major tick.
.TP 1i
-\f(CWcrosshairs\fR
+\fBcrosshairs\fR
Cross hairs are used to finely position the mouse pointer in relation
to the coordinate axes. Two perpendicular lines are drawn across the
plotting area, intersecting at the current location of the mouse
pointer.
.TP 1i
-\f(CWelement\fR
+\fBelement\fR
An element represents a set of data points. Elements can be plotted
with a symbol at each data point and lines connecting the points.
The appearance of the element, such as its symbol, line width, and
color is configurable.
.TP 1i
-\f(CWgrid\fR
+\fBgrid\fR
Extends the major and minor ticks of the X\-axis and/or Y\-axis across the
plotting area.
.TP 1i
-\f(CWlegend\fR
+\fBlegend\fR
The legend displays the name and symbol of each data element.
The legend can be drawn in any margin or in the plotting area.
.TP 1i
-\f(CWmarker\fR
+\fBmarker\fR
Markers are used annotate or highlight areas of the graph. For
example, you could use a polygon marker to fill an area under a
curve, or a text marker to label a particular data point. Markers
come in various forms: text strings, bitmaps, connected line
segments, images, polygons, or embedded widgets.
.TP 1i
-\f(CWpen\fR
+\fBpen\fR
Pens define attributes (both symbol and line style) for elements.
Data elements use pens to specify how they should be drawn. A data
element may use many pens at once. Here, the particular pen
used for a data point is determined from each element's weight
vector (see the element's \fB\-weight\fR and \fB\-style\fR options).
.TP 1i
-\f(CWpostscript\fR
+\fBpostscript\fR
The widget can generate encapsulated PostScript output. This component
has several options to configure how the PostScript is generated.
.SH SYNTAX
# Create a new strip chart. Plotting area is black.
stripchart .s -plotbackground black
.CE
-A new Tcl command \f(CW.s\fR is also created. This command can be used
+A new Tcl command \fB.s\fR is also created. This command can be used
to query and modify the strip chart. For example, to change the title of
the strip chart to "My Plot", you use the new command and the widget's
\fBconfigure\fR operation.
set xVec(0) 0.18
set yVec(0) 25.18
.CE
-An element named \f(CWline1\fR is now created in \f(CW.s\fR. By
-default, the element's label in the legend will be also \f(CWline1\fR.
+An element named \fBline1\fR is now created in \fB.s\fR. By
+default, the element's label in the legend will be also \fBline1\fR.
You can change the label, or specify no legend entry, again using the
element's \fBconfigure\fR operation.
.CS
\&.s element configure line1 -symbol square -color red \\
-dashes { 2 4 2 } -linewidth 2 -pixels 2c
.CE
-Four coordinate axes are automatically created: \f(CWx\fR, \f(CWx2\fR,
-\f(CWy\fR, and \f(CWy2\fR. And by default, elements are mapped onto the
-axes \f(CWx\fR and \f(CWy\fR. This can be changed with the \fB\-mapx\fR
+Four coordinate axes are automatically created: \fBx\fR, \fBx2\fR,
+\fBy\fR, and \fBy2\fR. And by default, elements are mapped onto the
+axes \fBx\fR and \fBy\fR. This can be changed with the \fB\-mapx\fR
and \fB\-mapy\fR options.
.CS
# Map "line1" on the alternate Y-axis "y2".
\&.s marker create text \-name first_marker \-coords { 0.2 26.18 } \\
\-text "start" \-anchor se \-xoffset -10 \-yoffset -10
.CE
-This creates a text marker named \f(CWfirst_marker\fR. It will display
+This creates a text marker named \fBfirst_marker\fR. It will display
the text "start" near the coordinates of the first data point. The
\fB\-anchor\fR, \fB\-xoffset\fR, and \fB\-yoffset\fR options are used
to display the marker above and to the left of the data point, so that
# Print the strip chart into file "file.ps"
\&.s postscript output file.ps \-maxpect yes \-decorations no
.CE
-This generates a file \f(CWfile.ps\fR containing the encapsulated
+This generates a file \fBfile.ps\fR containing the encapsulated
PostScript of the strip chart. The option \fB\-maxpect\fR says to scale the
plot to the size of the page. Turning off the \fB\-decorations\fR
option indicates that no borders or color backgrounds should be
\fB\-borderwidth \fIpixels\fR
Sets the width of the 3\-D border around the outside edge of the widget. The
\fB\-relief\fR option determines if the border is to be drawn. The
-default is \f(CW2\fR.
+default is \fB2\fR.
.TP
\fB\-bottommargin \fIpixels\fR
Specifies the size of the margin below the X\-coordinate axis. If
-\fIpixels\fR is \f(CW0\fR, the size of the margin is selected automatically.
-The default is \f(CW0\fR.
+\fIpixels\fR is \fB0\fR, the size of the margin is selected automatically.
+The default is \fB0\fR.
.TP
\fB\-bufferelements \fIboolean\fR
Indicates whether to draw elements into a pixmap before displaying
is updated frequently. See the
.SB "SPEED TIPS"
section.
-The default is \f(CW1\fR.
+The default is \fB1\fR.
.TP
\fB\-buffergraph \fIboolean\fR
Indicates whether to draw the graph into a pixmap first.
off this option also turns \fB\-bufferelements\fR off. See the
.SB "SPEED TIPS"
section.
-The default is \f(CW1\fR.
+The default is \fB1\fR.
.TP
\fB\-cursor \fIcursor\fR
Specifies the widget's cursor. The default
-cursor is \f(CWcrosshair\fR.
+cursor is \fBcrosshair\fR.
.TP
\fB\-font \fIfontName\fR
Specifies the title font. The default is
-\f(CW*-Helvetica-Bold-R-Normal-*-18-180-*\fR.
+\fB*-Helvetica-Bold-R-Normal-*-18-180-*\fR.
.TP
\fB\-halo \fIpixels\fR
Specifies a maximum distance to consider when searching for the
closest data point (see the element's \fBclosest\fR operation below).
Data points further than \fIpixels\fR away are ignored. The default is
-\f(CW0.5i\fR.
+\fB0.5i\fR.
.TP
\fB\-height \fIpixels\fR
Specifies the requested height of widget. The default is
-\f(CW4i\fR.
+\fB4i\fR.
.TP
\fB\-invertxy \fIboolean\fR
Indicates whether the placement X\-axis and Y\-axis should be inverted. If
\fIboolean\fR is true, the X and Y axes are swapped. The default is
-\f(CW0\fR.
+\fB0\fR.
.TP
\fB\-justify \fIjustify\fR
Specifies how the title should be justified. This matters only when
the title contains more than one line of text. \fIJustify\fR must be
-\f(CWleft\fR, \f(CWright\fR, or \f(CWcenter\fR. The default is
-\f(CWcenter\fR.
+\fBleft\fR, \fBright\fR, or \fBcenter\fR. The default is
+\fBcenter\fR.
.TP
\fB\-leftmargin \fIpixels\fR
Sets the size of the margin from the left edge of the window to
-the Y\-coordinate axis. If \fIpixels\fR is \f(CW0\fR, the size is
-calculated automatically. The default is \f(CW0\fR.
+the Y\-coordinate axis. If \fIpixels\fR is \fB0\fR, the size is
+calculated automatically. The default is \fB0\fR.
.TP
\fB\-plotbackground \fIcolor\fR
Specifies the background color of the plotting area. The default is
-\f(CWwhite\fR.
+\fBwhite\fR.
.TP
\fB\-plotborderwidth \fIpixels\fR
Sets the width of the 3-D border around the plotting area. The
\fB\-plotrelief\fR option determines if a border is drawn. The
-default is \f(CW2\fR.
+default is \fB2\fR.
.TP
\fB\-plotpadx \fIpad\fR
Sets the amount of padding to be added to the left and right sides of
distances. If \fIpad\fR has two elements, the left side of the
plotting area entry is padded by the first distance and the right side
by the second. If \fIpad\fR is just one distance, both the left and
-right sides are padded evenly. The default is \f(CW8\fR.
+right sides are padded evenly. The default is \fB8\fR.
.TP
\fB\-plotpady \fIpad\fR
Sets the amount of padding to be added to the top and bottom of the
distances. If \fIpad\fR has two elements, the top of the plotting
area is padded by the first distance and the bottom by the second. If
\fIpad\fR is just one distance, both the top and bottom are padded
-evenly. The default is \f(CW8\fR.
+evenly. The default is \fB8\fR.
.TP
\fB\-plotrelief \fIrelief\fR
Specifies the 3-D effect for the plotting area. \fIRelief\fR
indicates how the interior of the plotting area should appear relative
-to rest of the strip chart; for example, \f(CWraised\fR means the plot should
+to rest of the strip chart; for example, \fBraised\fR means the plot should
appear to protrude from the strip chart, relative to the surface of the
-strip chart. The default is \f(CWsunken\fR.
+strip chart. The default is \fBsunken\fR.
.TP
\fB\-relief \fIrelief\fR
Specifies the 3-D effect for the widget. \fIRelief\fR
indicates how the strip chart should appear relative to widget it is packed
-into; for example, \f(CWraised\fR means the strip chart should
-appear to protrude. The default is \f(CWflat\fR.
+into; for example, \fBraised\fR means the strip chart should
+appear to protrude. The default is \fBflat\fR.
.TP
\fB\-rightmargin \fIpixels\fR
Sets the size of margin from the plotting area to the right edge of
\fB\-takefocus\fR \fIfocus\fR
Provides information used when moving the focus from window to window
via keyboard traversal (e.g., Tab and Shift-Tab). If \fIfocus\fR is
-\f(CW0\fR, this means that this window should be skipped entirely during
-keyboard traversal. \f(CW1\fR means that the this window should always
+\fB0\fR, this means that this window should be skipped entirely during
+keyboard traversal. \fB1\fR means that the this window should always
receive the input focus. An empty value means that the traversal
scripts make the decision whether to focus on the window.
-The default is \f(CW""\fR.
+The default is \fB""\fR.
.TP
\fB\-tile \fIimage\fR
Specifies a tiled background. If \fIimage\fR isn't
-\f(CW""\fR, the background is tiled using \fIimage\fR.
+\fB""\fR, the background is tiled using \fIimage\fR.
Otherwise, the normal background color is drawn (see the
\fB\-background\fR option). \fIImage\fR must be an image created
-using the Tk \fBimage\fR command. The default is \f(CW""\fR.
+using the Tk \fBimage\fR command. The default is \fB""\fR.
.TP
\fB\-title \fItext\fR
-Sets the title to \fItext\fR. If \fItext\fR is \f(CW""\fR,
+Sets the title to \fItext\fR. If \fItext\fR is \fB""\fR,
no title will be displayed.
.TP
\fB\-topmargin \fIpixels\fR
Specifies the size of the margin above the x2 axis. If \fIpixels\fR
-is \f(CW0\fR, the margin size is calculated automatically.
+is \fB0\fR, the margin size is calculated automatically.
.TP
\fB\-width \fIpixels\fR
Specifies the requested width of the widget. The default is
-\f(CW5i\fR.
+\fB5i\fR.
.RE
.TP
\fIpathName \fBcrosshairs \fIoperation \fR?\fIarg\fR?
.TP
\fIpathName \fBextents \fIitem\fR
Returns the size of a particular item in the strip chart. \fIItem\fR must
-be either \f(CWleftmargin\fR, \f(CWrightmargin\fR, \f(CWtopmargin\fR,
-\f(CWbottommargin\fR, \f(CWplotwidth\fR, or \f(CWplotheight\fR.
+be either \fBleftmargin\fR, \fBrightmargin\fR, \fBtopmargin\fR,
+\fBbottommargin\fR, \fBplotwidth\fR, or \fBplotheight\fR.
.TP
\fIpathName \fBgrid \fIoperation \fR?\fIarg\fR?...
See the
aspect or part of the strip chart.
.SS "AXIS COMPONENTS"
Four coordinate axes are automatically created: two X\-coordinate axes
-(\f(CWx\fR and \f(CWx2\fR) and two Y\-coordinate axes (\f(CWy\fR, and
-\f(CWy2\fR). By default, the axis \f(CWx\fR is located in the bottom
-margin, \f(CWy\fR in the left margin, \f(CWx2\fR in the top margin, and
-\f(CWy2\fR in the right margin.
+(\fBx\fR and \fBx2\fR) and two Y\-coordinate axes (\fBy\fR, and
+\fBy2\fR). By default, the axis \fBx\fR is located in the bottom
+margin, \fBy\fR in the left margin, \fBx2\fR in the top margin, and
+\fBy2\fR in the right margin.
.PP
An axis consists of the axis line, title, major and minor ticks, and
tick labels. Major ticks are drawn at uniform intervals along the
are automatically reset to display the most recent data points in this range.
If \fIrange\fR is 0.0, the range is
determined from the limits of the data. If \fB\-min\fR or \fB-max\fR
-are specified, they override this option. The default is \f(CW0.0\fR.
+are specified, they override this option. The default is \fB0.0\fR.
.TP
\fB\-color \fIcolor\fR
Sets the color of the axis and tick labels.
-The default is \f(CWblack\fR.
+The default is \fBblack\fR.
.TP
\fB\-command \fIprefix\fR
Specifies a Tcl command to be invoked when formatting the axis tick
major tick on the axis. Two additional arguments are passed to the
procedure: the pathname of the widget and the current the numeric
value of the tick. The procedure returns the formatted tick label. If
-\f(CW""\fR is returned, no label will appear next to the tick. You can
+\fB""\fR is returned, no label will appear next to the tick. You can
get the standard tick labels again by setting \fIprefix\fR to
-\f(CW""\fR. The default is \f(CW""\fR.
+\fB""\fR. The default is \fB""\fR.
.sp 1
Please note that this procedure is invoked while the strip chart is redrawn.
You may query the configuration options. But do not reset them, because
\fB\-descending \fIboolean\fR
Indicates whether the values along the axis are monotonically increasing or
decreasing. If \fIboolean\fR is true, the axis values will be
-decreasing. The default is \f(CW0\fR.
+decreasing. The default is \fB0\fR.
.TP
\fB\-hide \fIboolean\fR
Indicates whether the axis is displayed.
\fB\-justify \fIjustify\fR
Specifies how the axis title should be justified. This matters only
when the axis title contains more than one line of text. \fIJustify\fR
-must be \f(CWleft\fR, \f(CWright\fR, or \f(CWcenter\fR. The default is
-\f(CWcenter\fR.
+must be \fBleft\fR, \fBright\fR, or \fBcenter\fR. The default is
+\fBcenter\fR.
.TP
\fB\-limits \fIformatStr\fR
Specifies a printf-like description to format the minimum and maximum
one or two format descriptions. If one description is supplied, both
the minimum and maximum limits are formatted in the same way. If two,
the first designates the format for the minimum limit, the second for
-the maximum. If \f(CW""\fR is given as either description, then
-the that limit will not be displayed. The default is \f(CW""\fR.
+the maximum. If \fB""\fR is given as either description, then
+the that limit will not be displayed. The default is \fB""\fR.
.TP
\fB\-linewidth \fIpixels\fR
-Sets the width of the axis and tick lines. The default is \f(CW1\fR
+Sets the width of the axis and tick lines. The default is \fB1\fR
pixel.
.TP
\fB\-logscale \fIboolean\fR
at the outermost data points, or loosely, at the outer tick intervals.
This is relevant only when the axis limit is automatically calculated.
If \fIboolean\fR is true, the axis range is "loose".
-The default is \f(CW0\fR.
+The default is \fB0\fR.
.TP
\fB\-majorticks \fImajorList\fR
Specifies where to display major axis ticks. You can use this option
to display ticks at non-uniform intervals. \fIMajorList\fR is a list
of axis coordinates designating the location of major ticks. No
-minor ticks are drawn. If \fImajorList\fR is \f(CW""\fR,
-major ticks will be automatically computed. The default is \f(CW""\fR.
+minor ticks are drawn. If \fImajorList\fR is \fB""\fR,
+major ticks will be automatically computed. The default is \fB""\fR.
.TP
\fB\-max \fIvalue\fR
Sets the maximum limit of \fIaxisName\fR. Any data point greater
-than \fIvalue\fR is not displayed. If \fIvalue\fR is \f(CW""\fR,
+than \fIvalue\fR is not displayed. If \fIvalue\fR is \fB""\fR,
the maximum limit is calculated using the largest data value.
-The default is \f(CW""\fR.
+The default is \fB""\fR.
.TP
\fB\-min \fIvalue\fR
Sets the minimum limit of \fIaxisName\fR. Any data point less than
-\fIvalue\fR is not displayed. If \fIvalue\fR is \f(CW""\fR,
+\fIvalue\fR is not displayed. If \fIvalue\fR is \fB""\fR,
the minimum limit is calculated using the smallest data value.
-The default is \f(CW""\fR.
+The default is \fB""\fR.
.TP
\fB\-minorticks \fIminorList\fR
Specifies where to display minor axis ticks. You can use this option
to display minor ticks at non-uniform intervals. \fIMinorList\fR is a
list of real values, ranging from 0.0 to 1.0, designating the placement of
a minor tick. No minor ticks are drawn if the \fB\-majortick\fR
-option is also set. If \fIminorList\fR is \f(CW""\fR, minor ticks will
-be automatically computed. The default is \f(CW""\fR.
+option is also set. If \fIminorList\fR is \fB""\fR, minor ticks will
+be automatically computed. The default is \fB""\fR.
.TP
\fB\-rotate \fItheta\fR
Specifies the how many degrees to rotate the axis tick labels.
\fITheta\fR is a real value representing the number of degrees
-to rotate the tick labels. The default is \f(CW0.0\fR degrees.
+to rotate the tick labels. The default is \fB0.0\fR degrees.
.TP
\fB\-shiftby \fIvalue\fR
Specifies how much to automatically shift the range of the axis.
is increased in increments of \fIvalue\fR. You can use this
option to prevent the axis limits from being recomputed
at each new time point. If \fIvalue\fR is 0.0, then no automatic
-shifting is done. The default is \f(CW0.0\fR.
+shifting is done. The default is \fB0.0\fR.
.TP
\fB\-showticks \fIboolean\fR
Indicates whether axis ticks should be drawn. If \fIboolean\fR is
true, ticks are drawn. If false, only the
-axis line is drawn. The default is \f(CW1\fR.
+axis line is drawn. The default is \fB1\fR.
.TP
\fB\-stepsize \fIvalue\fR
Specifies the interval between major axis ticks. If \fIvalue\fR isn't
Indicates how many minor axis ticks are
to be drawn. For example, if \fInumber\fR is two, only one minor
tick is drawn. If \fInumber\fR is one, no minor ticks are
-displayed. The default is \f(CW2\fR.
+displayed. The default is \fB2\fR.
.TP
\fB\-tickfont \fIfontName\fR
Specifies the font for axis tick labels. The default is
-\f(CW*-Courier-Bold-R-Normal-*-100-*\fR.
+\fB*-Courier-Bold-R-Normal-*-100-*\fR.
.TP
\fB\-ticklength \fIpixels\fR
Sets the length of major and minor ticks (minor ticks are half the
length of major ticks). If \fIpixels\fR is less than zero, the axis
will be inverted with ticks drawn pointing towards the plot. The
-default is \f(CW0.1i\fR.
+default is \fB0.1i\fR.
.TP
\fB\-title \fItext\fR
Sets the title of the axis. If \fItext\fR is
-\f(CW""\fR, no axis title will be displayed.
+\fB""\fR, no axis title will be displayed.
.TP
\fB\-titlecolor \fIcolor\fR
-Sets the color of the axis title. The default is \f(CWblack\fR.
+Sets the color of the axis title. The default is \fBblack\fR.
.TP
\fB\-titlefont \fIfontName\fR
Specifies the font for axis title. The default is
-\f(CW*-Helvetica-Bold-R-Normal-*-14-140-*\fR.
+\fB*-Helvetica-Bold-R-Normal-*-14-140-*\fR.
.PP
Axis configuration options may be also be set by the \fBoption\fR
-command. The resource class is \f(CWAxis\fR. The resource names
-are the names of the axes (such as \f(CWx\fR or \f(CWx2\fR).
+command. The resource class is \fBAxis\fR. The resource names
+are the names of the axes (such as \fBx\fR or \fBx2\fR).
.CS
option add *Stripchart.Axis.Color blue
option add *Stripchart.x.LogScale true
.TP
\fIpathName \fBaxis limits \fIaxisName\fR
Returns a list of the minimum and maximum limits for \fIaxisName\fR. The order
-of the list is \f(CWmin max\fR.
+of the list is \fBmin max\fR.
.TP
\fIpathName \fBaxis names \fR?\fIpattern\fR?...
Returns a list of axes matching zero or more patterns. If no
the it to \fIaxisName\fR. Returns the transformed screen coordinate.
.PP
Only four axes can be displayed simultaneously. By default, they are
-\f(CWx\fR, \f(CWy\fR, \f(CWx2\fR, and \f(CWy2\fR. You can swap in a different
+\fBx\fR, \fBy\fR, \fBx2\fR, and \fBy2\fR. You can swap in a different
axis with \fBuse\fR operation of the special axis components:
\fBxaxis\fR, \fBx2axis\fR, \fByaxis\fR, and \fBy2axis\fR.
.CS
right Y-axis.
.PP
They implicitly control the axis that is currently using to that
-location. By default, \fBxaxis\fR uses the \f(CWx\fR axis, \fByaxis\fR
-uses \f(CWy\fR, \fBx2axis\fR uses \f(CWx2\fR, and \fBy2axis\fR uses
-\f(CWy2\fR. These components can be more convenient to use than always
+location. By default, \fBxaxis\fR uses the \fBx\fR axis, \fByaxis\fR
+uses \fBy\fR, \fBx2axis\fR uses \fBx2\fR, and \fBy2axis\fR uses
+\fBy2\fR. These components can be more convenient to use than always
determining what axes are current being displayed by the graph.
.PP
The following operations are available for axes. They mirror exactly
.RS
.TP
\fB\-color \fIcolor\fR
-Sets the color of the cross hairs. The default is \f(CWblack\fR.
+Sets the color of the cross hairs. The default is \fBblack\fR.
.TP
\fB\-dashes \fIdashList\fR
Sets the dash style of the cross hairs. \fIDashList\fR is a list of up
to 11 numbers that alternately represent the lengths of the dashes
and gaps on the cross hair lines. Each number must be between 1 and
-255. If \fIdashList\fR is \f(CW""\fR, the cross hairs will be solid
+255. If \fIdashList\fR is \fB""\fR, the cross hairs will be solid
lines.
.TP
\fB\-hide \fIboolean\fR
Indicates whether cross hairs are drawn. If \fIboolean\fR is true,
-cross hairs are not drawn. The default is \f(CWyes\fR.
+cross hairs are not drawn. The default is \fByes\fR.
.TP
\fB\-linewidth \fIpixels\fR
-Set the width of the cross hair lines. The default is \f(CW1\fR.
+Set the width of the cross hair lines. The default is \fB1\fR.
.TP
\fB\-position \fIpos\fR
Specifies the screen position where the cross hairs intersect.
.PP
Cross hairs configuration options may be also be set by the
\fBoption\fR command. The resource name and class are
-\f(CWcrosshairs\fR and \f(CWCrosshairs\fR respectively.
+\fBcrosshairs\fR and \fBCrosshairs\fR respectively.
.CS
option add *Stripchart.Crosshairs.LineWidth 2
option add *Stripchart.Crosshairs.Color red
then all visible elements are searched. It returns via the array
variable \fIvarName\fR the name of the closest element, the index of
its closest point, and the graph coordinates of the point. Returns
-\f(CW0\fR, if no data point within the threshold distance can be found,
-otherwise \f(CW1\fR is returned. The following
+\fB0\fR, if no data point within the threshold distance can be found,
+otherwise \fB1\fR is returned. The following
\fIoption\fR\-\fIvalue\fR pairs are available.
.RS
.TP
\fB\-halo \fIpixels\fR
Specifies a threshold distance where selected data points are ignored.
-\fIPixels\fR is a valid screen distance, such as \f(CW2\fR or \f(CW1.2i\fR.
+\fIPixels\fR is a valid screen distance, such as \fB2\fR or \fB1.2i\fR.
If this option isn't specified, then it defaults to the value of the
stripchart's \fB\-halo\fR option.
.TP
the line segment formed should be considered. If \fIboolean\fR
is true, the closest line segment will be selected instead of the
closest point. If this option isn't specified, \fIboolean\fR defaults
-to \f(CW0\fR.
+to \fB0\fR.
.RE
.TP
\fIpathName \fBelement configure \fIelemName \fR?\fIoption value\fR?...
.TP
\fB\-activepen \fIpenName\fR
Specifies pen to use to draw active element. If \fIpenName\fR is
-\f(CW""\fR, no active elements will be drawn. The default is
-\f(CWactiveLine\fR.
+\fB""\fR, no active elements will be drawn. The default is
+\fBactiveLine\fR.
.TP
\fB\-color \fIcolor\fR
Sets the color of the traces connecting the data points.
Sets the dash style of element line. \fIDashList\fR is a list of up to
11 numbers that alternately represent the lengths of the dashes and
gaps on the element line. Each number must be between 1 and 255. If
-\fIdashList\fR is \f(CW""\fR, the lines will be solid.
+\fIdashList\fR is \fB""\fR, the lines will be solid.
.TP
\fB\-data \fIcoordList\fR
Specifies the X\-Y coordinates of the data. \fICoordList\fR is a
of each data point.
.TP
\fB\-fill \fIcolor\fR
-Sets the interior color of symbols. If \fIcolor\fR is \f(CW""\fR, then
+Sets the interior color of symbols. If \fIcolor\fR is \fB""\fR, then
the interior of the symbol is transparent. If \fIcolor\fR is
-\f(CWdefcolor\fR, then the color will be the same as the \fB\-color\fR
-option. The default is \f(CWdefcolor\fR.
+\fBdefcolor\fR, then the color will be the same as the \fB\-color\fR
+option. The default is \fBdefcolor\fR.
.TP
\fB\-hide \fIboolean\fR
-Indicates whether the element is displayed. The default is \f(CWno\fR.
+Indicates whether the element is displayed. The default is \fBno\fR.
.TP
\fB\-label \fItext\fR
Sets the element's label in the legend. If \fItext\fR
-is \f(CW""\fR, the element will have no entry in the legend.
+is \fB""\fR, the element will have no entry in the legend.
The default label is the element's name.
.TP
\fB\-linewidth \fIpixels\fR
Sets the width of the connecting lines between data points. If
-\fIpixels\fR is \f(CW0\fR, no connecting lines will be drawn between
-symbols. The default is \f(CW0\fR.
+\fIpixels\fR is \fB0\fR, no connecting lines will be drawn between
+symbols. The default is \fB0\fR.
.TP
\fB\-mapx \fIxAxis\fR
Selects the X\-axis to map the element's X\-coordinates onto.
-\fIXAxis\fR must be the name of an axis. The default is \f(CWx\fR.
+\fIXAxis\fR must be the name of an axis. The default is \fBx\fR.
.TP
\fB\-mapy \fIyAxis\fR
Selects the Y\-axis to map the element's Y\-coordinates onto.
-\fIYAxis\fR must be the name of an axis. The default is \f(CWy\fR.
+\fIYAxis\fR must be the name of an axis. The default is \fBy\fR.
.TP
\fB\-offdash \fIcolor\fR
Sets the color of the stripes when traces are dashed (see the
-\fB\-dashes\fR option). If \fIcolor\fR is \f(CW""\fR, then the "off"
+\fB\-dashes\fR option). If \fIcolor\fR is \fB""\fR, then the "off"
pixels will represent gaps instead of stripes. If \fIcolor\fR is
-\f(CWdefcolor\fR, then the color will be the same as the \fB\-color\fR
-option. The default is \f(CWdefcolor\fR.
+\fBdefcolor\fR, then the color will be the same as the \fB\-color\fR
+option. The default is \fBdefcolor\fR.
.TP
\fB\-outline \fIcolor\fR
Sets the color or the outline around each symbol. If \fIcolor\fR is
-\f(CW""\fR, then no outline is drawn. If \fIcolor\fR is \f(CWdefcolor\fR,
+\fB""\fR, then no outline is drawn. If \fIcolor\fR is \fBdefcolor\fR,
then the color will be the same as the \fB\-color\fR option. The
-default is \f(CWdefcolor\fR.
+default is \fBdefcolor\fR.
.TP
\fB\-outlinewidth \fIpixels\fR
Sets the width of the outline bordering each symbol. If \fIpixels\fR
-is \f(CW0\fR, no outline will be drawn. The default is \f(CW1\fR.
+is \fB0\fR, no outline will be drawn. The default is \fB1\fR.
.TP
\fB\-pixels \fIpixels\fR
-Sets the size of symbols. If \fIpixels\fR is \f(CW0\fR, no symbols will
-be drawn. The default is \f(CW0.125i\fR.
+Sets the size of symbols. If \fIpixels\fR is \fB0\fR, no symbols will
+be drawn. The default is \fB0.125i\fR.
.TP
\fB\-scalesymbols \fIboolean\fR
If \fIboolean\fR is true, the size of the symbols
option). As the scale of the axes change, the symbol will be scaled
according to the smaller of the X\-axis and Y\-axis scales. If \fIboolean\fR
is false, the element's symbols are drawn at the designated size,
-regardless of axis scales. The default is \f(CW0\fR.
+regardless of axis scales. The default is \fB0\fR.
.TP
\fB\-smooth \fIsmooth\fR
Specifies how connecting line segments are drawn between data points.
-\fISmooth\fR can be either \f(CWlinear\fR, \f(CWstep\fR, \f(CWnatural\fR, or
-\f(CWquadratic\fR. If \fIsmooth\fR is \f(CWlinear\fR, a single line
+\fISmooth\fR can be either \fBlinear\fR, \fBstep\fR, \fBnatural\fR, or
+\fBquadratic\fR. If \fIsmooth\fR is \fBlinear\fR, a single line
segment is drawn, connecting both data points. When \fIsmooth\fR is
-\f(CWstep\fR, two line segments are drawn. The first is a horizontal
+\fBstep\fR, two line segments are drawn. The first is a horizontal
line segment which steps the next x-coordinate. The second is a
vertical line, moving to the next y-coordinate. Both \fInatural\fR and
\fIquadratic\fR generate multiple segments between data points. If
.TP
\fB\-symbol \fIsymbol\fR
Specifies the symbol for data points. \fISymbol\fR can be either
-\f(CWsquare\fR, \f(CWcircle\fR, \f(CWdiamond\fR, \f(CWplus\fR, \f(CWcross\fR,
-\f(CWsplus\fR, \f(CWscross\fR, \f(CWtriangle\fR, \f(CW""\fR (where no symbol
+\fBsquare\fR, \fBcircle\fR, \fBdiamond\fR, \fBplus\fR, \fBcross\fR,
+\fBsplus\fR, \fBscross\fR, \fBtriangle\fR, \fB""\fR (where no symbol
is drawn), or a bitmap. Bitmaps are specified as "\fIsource\fR
?\fImask\fR?", where \fIsource\fR is the name of the bitmap, and
\fImask\fR is the bitmap's optional mask. The default is
-\f(CWcircle\fR.
+\fBcircle\fR.
.TP
\fB\-weights \fIwVec\fR
Specifies the weights of the individual data points. This, in
a BLT vector or a list of numeric expressions.
.PP
Element configuration options may also be set by the \fBoption\fR
-command. The resource class is \f(CWElement\fR. The resource name is
+command. The resource class is \fBElement\fR. The resource name is
the name of the element.
.CS
option add *Stripchart.Element.symbol line
Deletes all the named elements. The graph is automatically redrawn.
.TP
\fIpathName \fBelement exists \fIelemName\fR
-Returns \f(CW1\fR if an element \fIelemName\fR currently exists and \f(CW0\fR otherwise.
+Returns \fB1\fR if an element \fIelemName\fR currently exists and \fB0\fR otherwise.
.TP
\fIpathName \fBelement names \fR?\fIpattern\fR?...
Returns the elements matching one or more pattern. If no
\fIpathName \fBelement type\fR \fIelemName\fR
Returns the type of \fIelemName\fR.
If the element is a bar element, the commands returns the string
-\f(CW"bar"\fR, otherwise it returns \f(CW"line"\fR.
+\fB"bar"\fR, otherwise it returns \fB"line"\fR.
.CE
.SS "GRID COMPONENT"
Grid lines extend from the major and minor ticks of each axis
.RS
.TP
\fB\-color \fIcolor\fR
-Sets the color of the grid lines. The default is \f(CWblack\fR.
+Sets the color of the grid lines. The default is \fBblack\fR.
.TP
\fB\-dashes \fIdashList\fR
Sets the dash style of the grid lines. \fIDashList\fR is a list of up
to 11 numbers that alternately represent the lengths of the dashes
and gaps on the grid lines. Each number must be between 1 and 255.
-If \fIdashList\fR is \f(CW""\fR, the grid will be solid lines.
+If \fIdashList\fR is \fB""\fR, the grid will be solid lines.
.TP
\fB\-hide \fIboolean\fR
Indicates whether the grid should be drawn. If \fIboolean\fR
-is true, grid lines are not shown. The default is \f(CWyes\fR.
+is true, grid lines are not shown. The default is \fByes\fR.
.TP
\fB\-linewidth \fIpixels\fR
-Sets the width of grid lines. The default width is \f(CW1\fR.
+Sets the width of grid lines. The default width is \fB1\fR.
.TP
\fB\-mapx \fIxAxis\fR
Specifies the X\-axis to display grid lines. \fIXAxis\fR
-must be the name of an axis. The default is \f(CWx\fR.
+must be the name of an axis. The default is \fBx\fR.
.TP
\fB\-mapy \fIyAxis\fR
Specifies the Y\-axis to display grid lines. \fIYAxis\fR
-must be the name of an axis. The default is \f(CWy\fR.
+must be the name of an axis. The default is \fBy\fR.
.TP
\fB\-minor \fIboolean\fR
Indicates whether the grid lines should be drawn for minor ticks.
If \fIboolean\fR is true, the lines will appear at
-minor tick intervals. The default is \f(CW1\fR.
+minor tick intervals. The default is \fB1\fR.
.PP
Grid configuration options may also be set by the
-\fBoption\fR command. The resource name and class are \f(CWgrid\fR and
-\f(CWGrid\fR respectively.
+\fBoption\fR command. The resource name and class are \fBgrid\fR and
+\fBGrid\fR respectively.
.CS
option add *Stripchart.grid.LineWidth 2
option add *Stripchart.Grid.Color black
.TP
\fB\-activeborderwidth \fIpixels\fR
Sets the width of the 3-D border around the outside edge of the active legend
-entries. The default is \f(CW2\fR.
+entries. The default is \fB2\fR.
.TP
\fB\-activeforeground \fIcolor\fR
Sets the foreground color for active legend entries. All legend
\fB\-activerelief \fIrelief\fR
Specifies the 3-D effect desired for active legend entries.
\fIRelief\fR denotes how the interior of the entry should appear
-relative to the legend; for example, \f(CWraised\fR means the entry
+relative to the legend; for example, \fBraised\fR means the entry
should appear to protrude from the legend, relative to the surface of
-the legend. The default is \f(CWflat\fR.
+the legend. The default is \fBflat\fR.
.TP
\fB\-anchor \fIanchor\fR
Tells how to position the legend relative to the positioning point for
the legend. This is dependent on the value of the \fB\-position\fR
-option. The default is \f(CWcenter\fR.
+option. The default is \fBcenter\fR.
.RS
.TP 1.25i
-\f(CWleft\fR or \f(CWright\fR
+\fBleft\fR or \fBright\fR
The anchor describes how to position the legend vertically.
.TP
-\f(CWtop\fR or \f(CWbottom\fR
+\fBtop\fR or \fBbottom\fR
The anchor describes how to position the legend horizontally.
.TP
-\f(CW@x,y\fR
+\fB@x,y\fR
The anchor specifies how to position the legend relative to the
-positioning point. For example, if \fIanchor\fR is \f(CWcenter\fR then
-the legend is centered on the point; if \fIanchor\fR is \f(CWn\fR then
+positioning point. For example, if \fIanchor\fR is \fBcenter\fR then
+the legend is centered on the point; if \fIanchor\fR is \fBn\fR then
the legend will be drawn such that the top center point of the
rectangular region occupied by the legend will be at the positioning
point.
.TP
-\f(CWplotarea\fR
+\fBplotarea\fR
The anchor specifies how to position the legend relative to the
-plotting area. For example, if \fIanchor\fR is \f(CWcenter\fR then the
-legend is centered in the plotting area; if \fIanchor\fR is \f(CWne\fR
+plotting area. For example, if \fIanchor\fR is \fBcenter\fR then the
+legend is centered in the plotting area; if \fIanchor\fR is \fBne\fR
then the legend will be drawn such that occupies the upper right
corner of the plotting area.
.RE
.TP
\fB\-background \fIcolor\fR
-Sets the background color of the legend. If \fIcolor\fR is \f(CW""\fR,
+Sets the background color of the legend. If \fIcolor\fR is \fB""\fR,
the legend background with be transparent.
.TP
\fB\-borderwidth \fIpixels\fR
Sets the width of the 3-D border around the outside edge of the legend (if
such border is being drawn; the \fBrelief\fR option determines this).
-The default is \f(CW2\fR pixels.
+The default is \fB2\fR pixels.
.TP
\fB\-font \fIfontName\fR
\fIFontName\fR specifies a font to use when drawing the labels of each
element into the legend. The default is
-\f(CW*-Helvetica-Bold-R-Normal-*-12-120-*\fR.
+\fB*-Helvetica-Bold-R-Normal-*-12-120-*\fR.
.TP
\fB\-foreground \fIcolor\fR
Sets the foreground color of the text drawn for the element's label.
-The default is \f(CWblack\fR.
+The default is \fBblack\fR.
.TP
\fB\-hide \fIboolean\fR
Indicates whether the legend should be displayed. If \fIboolean\fR is
-true, the legend will not be draw. The default is \f(CWno\fR.
+true, the legend will not be draw. The default is \fBno\fR.
.TP
\fB\-ipadx \fIpad\fR
Sets the amount of internal padding to be added to the width of each
\fIpad\fR has two elements, the left side of the legend entry is
padded by the first distance and the right side by the second. If
\fIpad\fR is just one distance, both the left and right sides are padded
-evenly. The default is \f(CW2\fR.
+evenly. The default is \fB2\fR.
.TP
\fB\-ipady \fIpad\fR
Sets an amount of internal padding to be added to the height of each
\fIpad\fR has two elements, the top of the entry is padded by the
first distance and the bottom by the second. If \fIpad\fR is just
one distance, both the top and bottom of the entry are padded evenly.
-The default is \f(CW2\fR.
+The default is \fB2\fR.
.TP
\fB\-padx \fIpad\fR
Sets the padding to the left and right exteriors of the legend.
has two elements, the left side of the legend is padded by the first
distance and the right side by the second. If \fIpad\fR has just one
distance, both the left and right sides are padded evenly. The
-default is \f(CW4\fR.
+default is \fB4\fR.
.TP
\fB\-pady \fIpad\fR
Sets the padding above and below the legend. \fIPad\fR can be a list
of one or two screen distances. If \fIpad\fR has two elements, the area above
the legend is padded by the first distance and the area below by the
second. If \fIpad\fR is just one distance, both the top and
-bottom areas are padded evenly. The default is \f(CW0\fR.
+bottom areas are padded evenly. The default is \fB0\fR.
.TP
\fB\-position \fIpos\fR
Specifies where the legend is drawn. The
\fB\-anchor\fR option also affects where the legend is positioned. If
-\fIpos\fR is \f(CWleft\fR, \f(CWleft\fR, \f(CWtop\fR, or \f(CWbottom\fR, the
+\fIpos\fR is \fBleft\fR, \fBleft\fR, \fBtop\fR, or \fBbottom\fR, the
legend is drawn in the specified margin. If \fIpos\fR is
-\f(CWplotarea\fR, then the legend is drawn inside the plotting area at a
+\fBplotarea\fR, then the legend is drawn inside the plotting area at a
particular anchor. If \fIpos\fR is in the form "\fI@x,y\fR", where
\fIx\fR and \fIy\fR are the window coordinates, the legend is drawn in
the plotting area at the specified coordinates. The default is
-\f(CWright\fR.
+\fBright\fR.
.TP
\fB\-raised \fIboolean\fR
Indicates whether the legend is above or below the data elements. This
matters only if the legend is in the plotting area. If \fIboolean\fR
is true, the legend will be drawn on top of any elements that may
-overlap it. The default is \f(CWno\fR.
+overlap it. The default is \fBno\fR.
.TP
\fB\-relief \fIrelief\fR
Specifies the 3-D effect for the border around the legend.
\fIRelief\fR specifies how the interior of the legend should appear
-relative to the strip chart; for example, \f(CWraised\fR means the legend
+relative to the strip chart; for example, \fBraised\fR means the legend
should appear to protrude from the strip chart, relative to the surface of
-the strip chart. The default is \f(CWsunken\fR.
+the strip chart. The default is \fBsunken\fR.
.PP
Legend configuration options may also be set by the \fBoption\fR
-command. The resource name and class are \f(CWlegend\fR and
-\f(CWLegend\fR respectively.
+command. The resource name and class are \fBlegend\fR and
+\fBLegend\fR respectively.
.CS
option add *Stripchart.legend.Foreground blue
option add *Stripchart.Legend.Relief raised
Returns the name of the element whose entry is at the screen position
\fIpos\fR in the legend. \fIPos\fR must be in the form "\fI@x,y\fR",
where \fIx\fR and \fIy\fR are window coordinates. If the given
-coordinates do not lie over a legend entry, \f(CW""\fR is returned.
+coordinates do not lie over a legend entry, \fB""\fR is returned.
.SS "PEN COMPONENTS"
Pens define attributes (both symbol and line style) for elements.
Pens mirror the configuration options of data elements that pertain to
each element's weight vector (see the element's \fB\-weight\fR and
\fB\-style\fR options).
.PP
-One pen, called \f(CWactiveLine\fR, is automatically created.
+One pen, called \fBactiveLine\fR, is automatically created.
It's used as the default active pen for elements. So you can change
the active attributes for all elements by simply reconfiguring this
pen.
\&.s element configure "line1" -styles { myPen 2.0 3.0 }
.CE
This says that any data point with a weight between 2.0 and 3.0
-is to be drawn using the pen \f(CWmyPen\fR. All other points
+is to be drawn using the pen \fBmyPen\fR. All other points
are drawn with the element's default attributes.
.PP
The following operations are available for pen components.
Sets the dash style of element line. \fIDashList\fR is a list of up to
11 numbers that alternately represent the lengths of the dashes and
gaps on the element line. Each number must be between 1 and 255. If
-\fIdashList\fR is \f(CW""\fR, the lines will be solid.
+\fIdashList\fR is \fB""\fR, the lines will be solid.
.TP
\fB\-fill \fIcolor\fR
-Sets the interior color of symbols. If \fIcolor\fR is \f(CW""\fR, then
+Sets the interior color of symbols. If \fIcolor\fR is \fB""\fR, then
the interior of the symbol is transparent. If \fIcolor\fR is
-\f(CWdefcolor\fR, then the color will be the same as the \fB\-color\fR
-option. The default is \f(CWdefcolor\fR.
+\fBdefcolor\fR, then the color will be the same as the \fB\-color\fR
+option. The default is \fBdefcolor\fR.
.TP
\fB\-linewidth \fIpixels\fR
Sets the width of the connecting lines between data points. If
-\fIpixels\fR is \f(CW0\fR, no connecting lines will be drawn between
-symbols. The default is \f(CW0\fR.
+\fIpixels\fR is \fB0\fR, no connecting lines will be drawn between
+symbols. The default is \fB0\fR.
.TP
\fB\-offdash \fIcolor\fR
Sets the color of the stripes when traces are dashed (see the
-\fB\-dashes\fR option). If \fIcolor\fR is \f(CW""\fR, then the "off"
+\fB\-dashes\fR option). If \fIcolor\fR is \fB""\fR, then the "off"
pixels will represent gaps instead of stripes. If \fIcolor\fR is
-\f(CWdefcolor\fR, then the color will be the same as the \fB\-color\fR
-option. The default is \f(CWdefcolor\fR.
+\fBdefcolor\fR, then the color will be the same as the \fB\-color\fR
+option. The default is \fBdefcolor\fR.
.TP
\fB\-outline \fIcolor\fR
Sets the color or the outline around each symbol. If \fIcolor\fR is
-\f(CW""\fR, then no outline is drawn. If \fIcolor\fR is \f(CWdefcolor\fR,
+\fB""\fR, then no outline is drawn. If \fIcolor\fR is \fBdefcolor\fR,
then the color will be the same as the \fB\-color\fR option. The
-default is \f(CWdefcolor\fR.
+default is \fBdefcolor\fR.
.TP
\fB\-outlinewidth \fIpixels\fR
Sets the width of the outline bordering each symbol. If \fIpixels\fR
-is \f(CW0\fR, no outline will be drawn. The default is \f(CW1\fR.
+is \fB0\fR, no outline will be drawn. The default is \fB1\fR.
.TP
\fB\-pixels \fIpixels\fR
-Sets the size of symbols. If \fIpixels\fR is \f(CW0\fR, no symbols will
-be drawn. The default is \f(CW0.125i\fR.
+Sets the size of symbols. If \fIpixels\fR is \fB0\fR, no symbols will
+be drawn. The default is \fB0.125i\fR.
.TP
\fB\-symbol \fIsymbol\fR
Specifies the symbol for data points. \fISymbol\fR can be either
-\f(CWsquare\fR, \f(CWcircle\fR, \f(CWdiamond\fR, \f(CWplus\fR, \f(CWcross\fR,
-\f(CWsplus\fR, \f(CWscross\fR, \f(CWtriangle\fR, \f(CW""\fR (where no symbol
+\fBsquare\fR, \fBcircle\fR, \fBdiamond\fR, \fBplus\fR, \fBcross\fR,
+\fBsplus\fR, \fBscross\fR, \fBtriangle\fR, \fB""\fR (where no symbol
is drawn), or a bitmap. Bitmaps are specified as "\fIsource\fR
?\fImask\fR?", where \fIsource\fR is the name of the bitmap, and
\fImask\fR is the bitmap's optional mask. The default is
-\f(CWcircle\fR.
+\fBcircle\fR.
.TP
\fB\-type \fIelemType\fR
Specifies the type of element the pen is to be used with.
lines) on the same graph. The default type is "line".
.PP
Pen configuration options may be also be set by the \fBoption\fR
-command. The resource class is \f(CWPen\fR. The resource names
+command. The resource class is \fBPen\fR. The resource names
are the names of the pens.
.CS
option add *Stripchart.Pen.Color blue
\fB\-center \fIboolean\fR
Indicates whether the plot should be centered on the PostScript page. If
\fIboolean\fR is false, the plot will be placed in the upper left
-corner of the page. The default is \f(CW1\fR.
+corner of the page. The default is \fB1\fR.
.TP
\fB\-colormap \fIvarName\fR
\fIVarName\fR must be the name of a global array variable that
specifies a color mapping from the X color name to PostScript. Each
element of \fIvarName\fR must consist of PostScript code to set a
-particular color value (e.g. ``\f(CW1.0 1.0 0.0 setrgbcolor\fR''). When
+particular color value (e.g. ``\fB1.0 1.0 0.0 setrgbcolor\fR''). When
outputting color information in PostScript, the array variable \fIvarName\fR
is checked to see if an element of the name of the color exists. If so,
it uses the value of the element as the PostScript
.TP
\fB\-colormode \fImode\fR
Specifies how to output color information. \fIMode\fR must be either
-\f(CWcolor\fR (for full color output), \f(CWgray\fR (convert all colors to
-their gray-scale equivalents) or \f(CWmono\fR (convert foreground colors
+\fBcolor\fR (for full color output), \fBgray\fR (convert all colors to
+their gray-scale equivalents) or \fBmono\fR (convert foreground colors
to black and background colors to white). The default mode is
-\f(CWcolor\fR.
+\fBcolor\fR.
.TP
\fB\-fontmap \fIvarName\fR
\fIVarName\fR must be the name of a global array variable that
attempt to guess what PostScript font to use. This works only for
fonts whose foundry property is \fIAdobe\fR (such as Times, Helvetica,
Courier, etc.). If all of this fails then the font defaults to
-\f(CWHelvetica-Bold\fR.
+\fBHelvetica-Bold\fR.
.TP
\fB\-decorations \fIboolean\fR
Indicates if PostScript commands to generate color backgrounds and 3-D
borders should be output. If \fIboolean\fR is false, the background will
be white and no 3-D borders will be generated. The
-default is \f(CW1\fR.
+default is \fB1\fR.
.TP
\fB\-height \fIpixels\fR
Sets the height of the plot. This lets you plot the stripchart with a
height different from the one displayed on the screen. If
\fIpixels\fR is 0, the height is the same as the displayed height.
-The default is \f(CW0\fR.
+The default is \fB0\fR.
.TP
\fB\-landscape \fIboolean\fR
If \fIboolean\fR is true, this specifies the printed area is to be
area runs along the short dimension of the page (``portrait''
orientation); in rotated output the X-axis runs along the long
dimension of the page (``landscape'' orientation). Defaults to
-\f(CW0\fR.
+\fB0\fR.
.TP
\fB\-maxpect \fIboolean\fR
Indicates to scale the the plot so that it fills the PostScript page.
The aspect ratio of the strip chart is still retained. The default is
-\f(CW0\fR.
+\fB0\fR.
.TP
\fB\-padx \fIpad\fR
Sets the horizontal padding for the left and right page borders. The
two screen distances. If \fIpad\fR has two elements, the left border is padded
by the first distance and the right border by the second. If
\fIpad\fR has just one distance, both the left and right borders are
-padded evenly. The default is \f(CW1i\fR.
+padded evenly. The default is \fB1i\fR.
.TP
\fB\-pady \fIpad\fR
Sets the vertical padding for the top and bottom page borders. The
two screen distances. If \fIpad\fR has two elements, the top border is padded
by the first distance and the bottom border by the second. If
\fIpad\fR has just one distance, both the top and bottom borders are
-padded evenly. The default is \f(CW1i\fR.
+padded evenly. The default is \fB1i\fR.
.TP
\fB\-paperheight \fIpixels\fR
Sets the height of the postscript page. This can be used to select
between different page sizes (letter, A4, etc). The default height is
-\f(CW11.0i\fR.
+\fB11.0i\fR.
.TP
\fB\-paperwidth \fIpixels\fR
Sets the width of the postscript page. This can be used to select
between different page sizes (letter, A4, etc). The default width is
-\f(CW8.5i\fR.
+\fB8.5i\fR.
.TP
\fB\-width \fIpixels\fR
Sets the width of the plot. This lets you plot the strip chart with a
width different from the one drawn on the screen. If \fIpixels\fR
is 0, the width is the same as the widget's width. The default is
-\f(CW0\fR.
+\fB0\fR.
.PP
Postscript configuration options may be also be set by the
\fBoption\fR command. The resource name and class are
-\f(CWpostscript\fR and \f(CWPostscript\fR respectively.
+\fBpostscript\fR and \fBPostscript\fR respectively.
.CS
option add *Stripchart.postscript.Decorations false
option add *Stripchart.Postscript.Landscape true
.PP
Markers, in contrast to elements, don't affect the scaling of the
coordinate axes. They can also have \fIelastic\fR coordinates
-(specified by \f(CW-Inf\fR and \f(CWInf\fR respectively) that translate
+(specified by \fB-Inf\fR and \fBInf\fR respectively) that translate
into the minimum or maximum limit of the axis. For example, you can
place a marker so it always remains in the lower left corner of the
-plotting area, by using the coordinates \f(CW-Inf\fR,\f(CW-Inf\fR.
+plotting area, by using the coordinates \fB-Inf\fR,\fB-Inf\fR.
.PP
The following operations are available for markers.
.TP
can take either two or four coordinates (if four, they represent the
corners of the bitmap). Line markers
need at least four coordinates, polygons at least six.
-If \fIcoordList\fR is \f(CW""\fR, the marker will not be displayed.
-The default is \f(CW""\fR.
+If \fIcoordList\fR is \fB""\fR, the marker will not be displayed.
+The default is \fB""\fR.
.TP
\fB\-element \fIelemName\fR
Links the marker with the element \fIelemName\fR. The marker is
drawn only if the element is also currently displayed (see the
-element's \fBshow\fR operation). If \fIelemName\fR is \f(CW""\fR, the
-marker is always drawn. The default is \f(CW""\fR.
+element's \fBshow\fR operation). If \fIelemName\fR is \fB""\fR, the
+marker is always drawn. The default is \fB""\fR.
.TP
\fB\-hide \fIboolean\fR
Indicates whether the marker is drawn. If \fIboolean\fR is true,
-the marker is not drawn. The default is \f(CWno\fR.
+the marker is not drawn. The default is \fBno\fR.
.TP
\fB\-mapx \fIxAxis\fR
Specifies the X\-axis to map the marker's X\-coordinates onto.
-\fIXAxis\fR must the name of an axis. The default is \f(CWx\fR.
+\fIXAxis\fR must the name of an axis. The default is \fBx\fR.
.TP
\fB\-mapy \fIyAxis\fR
Specifies the Y\-axis to map the marker's Y\-coordinates onto.
-\fIYAxis\fR must the name of an axis. The default is \f(CWy\fR.
+\fIYAxis\fR must the name of an axis. The default is \fBy\fR.
.TP
\fB\-name \fImarkerId\fR
Changes the identifier for the marker. The identifier \fImarkerId\fR
Indicates whether the marker is drawn below/above data
elements. If \fIboolean\fR is true, the marker is be drawn
underneath the data element symbols and lines. Otherwise, the marker is
-drawn on top of the element. The default is \f(CW0\fR.
+drawn on top of the element. The default is \fB0\fR.
.TP
\fB\-xoffset \fIpixels\fR
Specifies a screen distance to offset the marker horizontally.
-\fIPixels\fR is a valid screen distance, such as \f(CW2\fR or \f(CW1.2i\fR.
-The default is \f(CW0\fR.
+\fIPixels\fR is a valid screen distance, such as \fB2\fR or \fB1.2i\fR.
+The default is \fB0\fR.
.TP
\fB\-yoffset \fIpixels\fR
Specifies a screen distance to offset the markers vertically.
-\fIPixels\fR is a valid screen distance, such as \f(CW2\fR or \f(CW1.2i\fR.
-The default is \f(CW0\fR.
+\fIPixels\fR is a valid screen distance, such as \fB2\fR or \fB1.2i\fR.
+The default is \fB0\fR.
.PP
Marker configuration options may also be set by the \fBoption\fR command.
-The resource class is either \f(CWBitmapMarker\fR, \f(CWImageMarker\fR,
-\f(CWLineMarker\fR, \f(CWPolygonMarker\fR, \f(CWTextMarker\fR, or \f(CWWindowMarker\fR,
+The resource class is either \fBBitmapMarker\fR, \fBImageMarker\fR,
+\fBLineMarker\fR, \fBPolygonMarker\fR, \fBTextMarker\fR, or \fBWindowMarker\fR,
depending on the type of marker. The resource name is the name of the
marker.
.CS
.TP
\fIpathName \fBmarker create \fItype\fR ?\fIoption value\fR?...
Creates a marker of the selected type. \fIType\fR may be either
-\f(CWtext\fR, \f(CWline\fR, \f(CWbitmap\fR, \f(CWimage\fR, \f(CWpolygon\fR, or
-\f(CWwindow\fR. This command returns the marker identifier,
+\fBtext\fR, \fBline\fR, \fBbitmap\fR, \fBimage\fR, \fBpolygon\fR, or
+\fBwindow\fR. This command returns the marker identifier,
used as the \fImarkerId\fR argument in the other marker-related
commands. If the \fB\-name\fR option is used, this overrides the
normal marker identifier. If the name provided is already used for
without the marker.\fR.
.TP
\fIpathName \fBmarker exists \fImarkerId\fR
-Returns \f(CW1\fR if the marker \fImarkerId\fR exists and \f(CW0\fR
+Returns \fB1\fR if the marker \fImarkerId\fR exists and \fB0\fR
otherwise.
.TP
\fIpathName \fBmarker names\fR ?\fIpattern\fR?
.TP
\fIpathName \fBmarker type \fImarkerId\fR
Returns the type of the marker given by \fImarkerId\fR, such as
-\f(CWline\fR or \f(CWtext\fR. If \fImarkerId\fR is not a valid a marker
-identifier, \f(CW""\fR is returned.
+\fBline\fR or \fBtext\fR. If \fImarkerId\fR is not a valid a marker
+identifier, \fB""\fR is returned.
.SS "BITMAP MARKERS"
A bitmap marker displays a bitmap. The size of the
bitmap is controlled by the number of coordinates specified. If two
The following options are specific to bitmap markers:
.TP
\fB\-background \fIcolor\fR
-Sets the background color of the bitmap. If \fIcolor\fR is \f(CW""\fR,
+Sets the background color of the bitmap. If \fIcolor\fR is \fB""\fR,
the background color will be transparent. The default background
-color is \f(CWwhite\fR.
+color is \fBwhite\fR.
.TP
\fB\-bitmap \fIbitmap\fR
-Specifies the bitmap to be displayed. If \fIbitmap\fR is \f(CW""\fR,
-the marker will not be displayed. The default is \f(CW""\fR.
+Specifies the bitmap to be displayed. If \fIbitmap\fR is \fB""\fR,
+the marker will not be displayed. The default is \fB""\fR.
.TP
\fB\-foreground \fIcolor\fR
Sets the foreground color of the bitmap. The default foreground color
-is \f(CWblack\fR.
+is \fBblack\fR.
.TP
\fB\-mask \fImask\fR
Specifies a mask for the bitmap to be displayed. This mask is a bitmap
itself, denoting the pixels that are transparent. If \fImask\fR is
-\f(CW""\fR, all pixels of the bitmap will be drawn. The default is
-\f(CW""\fR.
+\fB""\fR, all pixels of the bitmap will be drawn. The default is
+\fB""\fR.
.TP
\fB\-rotate \fItheta\fR
Sets the rotation of the bitmap. \fITheta\fR is a real number
representing the angle of rotation in degrees. The marker is first
rotated and then placed according to its anchor position. The default
-rotation is \f(CW0.0\fR.
+rotation is \fB0.0\fR.
.SS "IMAGE MARKERS"
A image marker displays an image. Image markers are
created with the marker's \fBcreate\fR operation in the form:
\fB\-anchor \fIanchor\fR
\fIAnchor\fR tells how to position the image relative to the
positioning point for the image. For example, if \fIanchor\fR
-is \f(CWcenter\fR then the image is centered on the point; if
-\fIanchor\fR is \f(CWn\fR then the image will be drawn such that
+is \fBcenter\fR then the image is centered on the point; if
+\fIanchor\fR is \fBn\fR then the image will be drawn such that
the top center point of the rectangular region occupied by the
image will be at the positioning point.
-This option defaults to \f(CWcenter\fR.
+This option defaults to \fBcenter\fR.
.TP
\fB\-image \fIimage\fR
Specifies the image to be drawn.
-If \fIimage\fR is \f(CW""\fR, the marker will not be
-drawn. The default is \f(CW""\fR.
+If \fIimage\fR is \fB""\fR, the marker will not be
+drawn. The default is \fB""\fR.
.SS "LINE MARKERS"
A line marker displays one or more connected line segments.
Line markers are created with marker's \fBcreate\fR operation in the form:
Sets the background color of the line.
The option is affects the line color only when the \fB\-stipple\fR option
is set.
-If this option isn't specified then it defaults to \f(CWwhite\fR.
+If this option isn't specified then it defaults to \fBwhite\fR.
.TP
\fB\-dashes \fIdashList\fR
Sets the dash style of the line. \fIDashList\fR is a list of up to 11
numbers that alternately represent the lengths of the dashes and gaps
on the line. Each number must be between 1 and 255. If
-\fIdashList\fR is \f(CW""\fR, the marker line will be solid.
+\fIdashList\fR is \fB""\fR, the marker line will be solid.
.TP
\fB\-foreground \fIcolor\fR
-Sets the foreground color. The default foreground color is \f(CWblack\fR.
+Sets the foreground color. The default foreground color is \fBblack\fR.
.TP
\fB\-linewidth \fIpixels\fR
Sets the width of the lines.
-The default width is \f(CW0\fR.
+The default width is \fB0\fR.
.TP
\fB\-stipple \fIbitmap\fR
Specifies a stipple pattern used to draw the line, rather than
a solid line.
\fIBitmap\fR specifies a bitmap to use as the stipple
-pattern. If \fIbitmap\fR is \f(CW""\fR, then the
-line is drawn in a solid fashion. The default is \f(CW""\fR.
+pattern. If \fIbitmap\fR is \fB""\fR, then the
+line is drawn in a solid fashion. The default is \fB""\fR.
.SS "POLYGON MARKERS"
A polygon marker displays a closed region described as two or more
connected line segments. It is assumed the first and
Sets the dash style of the outline of the polygon. \fIDashList\fR is a
list of up to 11 numbers that alternately represent the lengths of
the dashes and gaps on the outline. Each number must be between 1 and
-255. If \fIdashList\fR is \f(CW""\fR, the outline will be a solid line.
+255. If \fIdashList\fR is \fB""\fR, the outline will be a solid line.
.TP
\fB\-fill \fIcolor\fR
-Sets the fill color of the polygon. If \fIcolor\fR is \f(CW""\fR, then
+Sets the fill color of the polygon. If \fIcolor\fR is \fB""\fR, then
the interior of the polygon is transparent.
-The default is \f(CWwhite\fR.
+The default is \fBwhite\fR.
.TP
\fB\-linewidth \fIpixels\fR
Sets the width of the outline of the polygon. If \fIpixels\fR is zero,
-no outline is drawn. The default is \f(CW0\fR.
+no outline is drawn. The default is \fB0\fR.
.TP
\fB\-outline \fIcolor\fR
Sets the color of the outline of the polygon. If the polygon is
stippled (see the \fB\-stipple\fR option), then this represents the
-foreground color of the stipple. The default is \f(CWblack\fR.
+foreground color of the stipple. The default is \fBblack\fR.
.TP
\fB\-stipple \fIbitmap\fR
Specifies that the polygon should be drawn with a stippled pattern
rather than a solid color. \fIBitmap\fR specifies a bitmap to use as
-the stipple pattern. If \fIbitmap\fR is \f(CW""\fR, then the polygon is
+the stipple pattern. If \fIbitmap\fR is \fB""\fR, then the polygon is
filled with a solid color (if the \fB\-fill\fR option is set). The
-default is \f(CW""\fR.
+default is \fB""\fR.
.SS "TEXT MARKERS"
A text marker displays a string of characters on one or more lines of
text. Embedded newlines cause line breaks. They may be used to
\fB\-anchor \fIanchor\fR
\fIAnchor\fR tells how to position the text relative to the
positioning point for the text. For example, if \fIanchor\fR is
-\f(CWcenter\fR then the text is centered on the point; if
-\fIanchor\fR is \f(CWn\fR then the text will be drawn such that the
+\fBcenter\fR then the text is centered on the point; if
+\fIanchor\fR is \fBn\fR then the text will be drawn such that the
top center point of the rectangular region occupied by the text will
-be at the positioning point. This default is \f(CWcenter\fR.
+be at the positioning point. This default is \fBcenter\fR.
.TP
\fB\-background \fIcolor\fR
Sets the background color of the text string. If \fIcolor\fR is
-\f(CW""\fR, the background will be transparent. The default is
-\f(CWwhite\fR.
+\fB""\fR, the background will be transparent. The default is
+\fBwhite\fR.
.TP
\fB\-font \fIfontName\fR
Specifies the font of the text. The default is
-\f(CW*-Helvetica-Bold-R-Normal-*-120-*\fR.
+\fB*-Helvetica-Bold-R-Normal-*-120-*\fR.
.TP
\fB\-foreground \fIcolor\fR
-Sets the foreground color of the text. The default is \f(CWblack\fR.
+Sets the foreground color of the text. The default is \fBblack\fR.
.TP
\fB\-justify \fIjustify\fR
Specifies how the text should be justified. This matters only when
the marker contains more than one line of text. \fIJustify\fR must be
-\f(CWleft\fR, \f(CWright\fR, or \f(CWcenter\fR. The default is
-\f(CWcenter\fR.
+\fBleft\fR, \fBright\fR, or \fBcenter\fR. The default is
+\fBcenter\fR.
.TP
\fB\-padx \fIpad\fR
Sets the padding to the left and right exteriors of the text.
has two elements, the left side of the text is padded by the first
distance and the right side by the second. If \fIpad\fR has just one
distance, both the left and right sides are padded evenly. The
-default is \f(CW4\fR.
+default is \fB4\fR.
.TP
\fB\-pady \fIpad\fR
Sets the padding above and below the text. \fIPad\fR can be a list of
one or two screen distances. If \fIpad\fR has two elements, the area above the
text is padded by the first distance and the area below by the second.
If \fIpad\fR is just one distance, both the top and bottom areas
-are padded evenly. The default is \f(CW4\fR.
+are padded evenly. The default is \fB4\fR.
.TP
\fB\-rotate \fItheta\fR
Specifies the number of degrees to rotate the text. \fITheta\fR is a
real number representing the angle of rotation. The marker is first
rotated along its center and is then drawn according to its anchor
-position. The default is \f(CW0.0\fR.
+position. The default is \fB0.0\fR.
.TP
\fB\-text \fItext\fR
Specifies the text of the marker. The exact way the text is
\fB\-anchor \fIanchor\fR
\fIAnchor\fR tells how to position the widget relative to the
positioning point for the widget. For example, if \fIanchor\fR is
-\f(CWcenter\fR then the widget is centered on the point; if \fIanchor\fR
-is \f(CWn\fR then the widget will be displayed such that the top center
+\fBcenter\fR then the widget is centered on the point; if \fIanchor\fR
+is \fBn\fR then the widget will be displayed such that the top center
point of the rectangular region occupied by the widget will be at the
-positioning point. This option defaults to \f(CWcenter\fR.
+positioning point. This option defaults to \fBcenter\fR.
.TP
\fB\-height \fIpixels\fR
Specifies the height to assign to the marker's window. If this option
-isn't specified, or if it is specified as \f(CW""\fR, then the window is
+isn't specified, or if it is specified as \fB""\fR, then the window is
given whatever height the widget requests internally.
.TP
\fB\-width \fIpixels\fR
Specifies the width to assign to the marker's window. If this option
-isn't specified, or if it is specified as \f(CW""\fR, then the window is
+isn't specified, or if it is specified as \fB""\fR, then the window is
given whatever width the widget requests internally.
.TP
\fB\-window \fIpathName\fR
.TP 2
\(bu
Data elements without symbols are drawn faster than with symbols.
-Set the data element's \fB\-symbol\fR option to \f(CWnone\fR. If you need to
-draw symbols, try using the simple symbols such as \f(CWsplus\fR and
-\f(CWscross\fR.
+Set the data element's \fB\-symbol\fR option to \fBnone\fR. If you need to
+draw symbols, try using the simple symbols such as \fBsplus\fR and
+\fBscross\fR.
.TP 2
\(bu
Don't stipple or dash the element. Solid lines are much faster.