HyperWorks Desktop

*SetLegendFont()

Specifies the default font for the legend in a plot window.

*SetLegendFont()

Specifies the default font for the legend in a plot window.

Previous topic Next topic No expanding text in this topic  

*SetLegendFont()

Specifies the default font for the legend in a plot window.

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

Syntax

*SetLegendFont(Font Name, Weight, Slant, Size)

Arguments

Names

Description

 

Font Name

The font type of the legend text:

Courier, Helvetica, New Century Schoolbook, or Times

 

Weight

The font weight of the legend text, 1 or 0:

1 = bold
0 = normal (default)

 

Slant

The font style of the legend text, 1 or 0:

1 = italic
0 = normal (default)

 

Size

The font size of the legend text:

8, 10, 12, 14, 18, or 24

Example

*BeginPlotDefaults()

           • • •

*SetHeaderColor(1)

*SetBackgroundColor(0)

*SetGridlineColor(14)

*SetZerolineColor(10)

*SetAxisColor(1)

*SetCurveDefaults(1, 3, 1, 0, 0)

*SetCurveDefaults(1, 4, 1, 0, 0)

*SetAxisDefaults(0, 11, 2, 1, 11, 4)

*SetLegendPlacement(TopRight)

*SetNoteAttachment(View)

*SetNoteAlignment(Left)

*SetNoteFont("Helvetica",1,1,24)

*SetPrintLineThickness(0.5)

*SetLegendFont("Helvetica",1,1,24)

*SetAnimBubbleColor(6)

*EndPlotDefaults()

Application

HyperGraph and HyperGraph 3D.

Context

*BeginPlotDefaults()

See also

 

*BeginPlotDefaults()

*Font()

*SetLegendPlacement()

List of Preference Statements