*LabelFont()

Specifies the font type, weight, style, and size for axis labels or datum line labels.

Syntax

*LabelFont (Name, Weight, Slant, Size)

Application

HyperGraph

Inputs

Name
The font type:
Helvetica, Courier, New Century Schoolbook, Times, or any other font installed on the machine.
Weight
The font weight, 1 or 0:
1
Bold
0
Normal (default)
Slant
1
Italic
0
Normal
Size
The font point size, 8, 10, 12, 14, 18, or 24

Context

*BeginAxis()

*BeginDatumLine()

Report Definitions

Example

*BeginAxis()
    *LabelFont("Times", 1, 1, 12)
    *TicsFont("Helvetica", 0, 0, 10)
*EndAxis()
*BeginDatumLine(h, "Untitled Datum", on)
    *Label("{min(c1.y)+3}")
    *Position("min(c1.y)+3")
    *AxisIndex(2)
    *LabelLocation(4)
    *Style(2)
    *Thickness(1)
    *Color(5)
    *LabelFont("Arial", 1, 1, 18)
*EndDatumLine()

Comments

The default for the font type, weight, style, and size for axis labels is set in the preference file using *LabelFont().