Calc Scale Specs (Not in Base Package)

Takes a specification for a Cartesian style scale and calculates the coordinates and labels to use for the scale. This VI works in conjunction with the Draw Scale VI to draw a scale.

[user-specified font] is a cluster containing the specific font characteristics for the text you draw. This specification is ignored unless desired font is set to user-specified font.
Font Name selects the font to use for the string.
Size selects the size of the font in points.
Strikeout? If TRUE, text appears in strikeout.
Italic? If TRUE, text appears in italic.
Underline? If TRUE, text appears underlined.
Outline? If TRUE, text appears in outline.
Shadow? If TRUE, text appears in shadow.
Bold? If TRUE, text appears in bold.
desired font specifies the font for the text you draw.

0User-specified font
1Application font (default)
2System font
3Dialog font
scale definition specifies the pixel coordinates and values for both ends of the scale, and the numeric format and precision for the scale numbers.
coordinate 1 contains the pixel coordinates for the left of a vertical scale or the top of a horizontal scale.
value 1 contains the minimum value for the scale numbers.
coordinate 2 contains the pixel coordinates for the right of a vertical scale or the bottom of a horizontal scale.
value 2 contains the maximum value for the scale numbers.
log determines whether the scale should be logarithmic.
fmt and prec specifies the numeric format and precision for the scale numbers.
format specifies the numeric format (decimal, scientific, engineering, binary, octal, or hex) for the scale numbers.
precision specifies the precision for the scale numbers.
scale attributes is a cluster that describes the format for the scale.
horizontal specifies whether the scale will be horizontal or vertical.
left/top specifies whether text will be drawn to the left for a vertical scale and the top for a horizontal scale (TRUE), or to the right for a vertical scale and the bottom for a horizontal scale (FALSE).
draw bar specifies whether or not a bar should be drawn as part of the scale.
line color is the color of the line. You can wire a color box constant to this input.
text color is a color numeric that specifies the color of the text.
scale specs is an array of clusters that produces the coordinates and labels you can use in the scale.
decade specs is a cluster that produces the coordinates and labels to use in a scale.
label specifies the labels the scale uses.
coordinate specifies the coordinates the scale uses.