WXP version 5
Resource Reference

Resource: plot_format

Resource plot_format
Command Line -fm=format
Environment Variable wxpformat
Default Value None

This resource is used to format plotted data. The formatting attributes are the following.  Multiple attributes can be specified if separated by a colon ":".

Attribute Description
tx=text Plot this text at each station location.
mk=type Plot this type of marker at each station location.  Possible values for type are: dot, pnt, plus, star, crcl, x, sqr, tri
%format Specifies the printed format of the data.  This is a full C format such as "%7.2f".
ul, uc, ur, tl, tc, tr, cl, cc, cr, bl, bc, br, ll, lc, lr Specifies the plotting offset (select one)
Offset -.012 x=0 +.012
+.02 ul uc ur
+.012 tl tc tr
y=0 cl cc cr
-.012 bl bc br
-.02 ll lc lr
xy=x:y Specifies the absolute plotting offset. The X and Y values are multiplied by .012.
sf=file Specifies the symbol file to use in interpretting the data. The string data is passed to the symbol plotting routine and this file is used to plot the actual symbol.
sk=skip Specifies a plotting skip factor.  If not all values are to be plotted, this skip factor can be specified to only plot every skip values.
co=color Specifies the color.  This is the color name from the color table.  If this is the first attribute, the "co=" may be omitted.
wi=width Specifies the width of lines.  This includes lines used in text and markers. The default value is 1.0.
st=style Specifies the style of lines.  Possible values are:
  • sol - solid lines (number 1)
  • dsh - dashed lines (number 2)
  • lsdsh - long short dashed lines (number 3)
  • llsdsh - long, long, short dashed lines (number 4)
  • dot - dotted lines (number 5)
  • # - a number corresponding to the above styles
fo=font Specifies the font number.  See the font_list resource.
fi=fill
fp=fill
Specifies the fill pattern. Possible values are:
  • sol - solid fill (number 0)
  • st - stippled fill (number 1)
  • ost - open stippled (number 2)
  • rst - random stipple (number 3)
  • lst - large stipple (number 4)
  • vln or || - vertical lines (number 5)
  • drl or // - diagonal lines moving to upper right (number 6)
  • dlr or \\ - diagonal lines moving to lower right (number 7)
  • hln or -- - horizontal lines (number 8)
  • hat or XX - hatched lines (number 9)
  • 0% - 0 % fill (number 10)
  • 1% - 11% fill (number 11)
  • 2% - 22% fill (number 12)
  • 3% - 33% fill (number 13)
  • 4% - 44% fill (number 14)
  • 5% - 55% fill (number 15)
  • 6% - 66% fill (number 16)
  • 7% - 77% fill (number 17)
  • 8% - 88% fill (number 18)
  • 9% - 100 % fill (number 19)
  • ## - a number associated with the above patterns
sc=scale Specifies the scale factor. Most drawn data is scaled by this parameter. The default value is 1.0.
hi=height This is the height of text and the size of markers. The default value is 1.0.
te=expan Specifies the text expansion factor. This controls how wide text is plotted. An expansion factor greater than 1 results in fat text. A value less than 1 results in thin text. The default value is 1.0.
ta=HV Specifies the text alignment in the horizontal (H) and the vertical (V). Possible values for H are:
  • l - left
  • c - center
  • r - right

Possible value for V are:

  • t - top (top or ALL letter including parentheses)
  • c - cap (top of most letters)
  • h - half (centered)
  • s - base (bottom of all capital letters)
  • b - bottom (bottom of all lower case letters)

Last updated July 30, 1998