HyperWorks Desktop

*LabelFont()

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

*LabelFont()

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

Previous topic Next topic No expanding text in this topic  

*LabelFont()

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

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*LabelFont(Name, Weight, Slant, Size)

Arguments

Name

Description

 

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

The font style, 1 or 0:

1 = italic
0 = normal

 

Size

The font point size, 8, 10, 12, 14, 18, or 24

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()

Application

HyperGraph.

Context

*BeginAxis()

*BeginDatumLine()

Report Definitions

Comments

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

See also

 

*BeginAxis()

*BeginDatumLine()

*BeginPlot()

List of Session Statements