Contents Previous Next Subchapters

Setting Graphics Text Font Size
Syntax functionfont(type facesize)
See Also gtitlefont(type face) and gtitlefont(type face, size, color)

Description
Sets the font for subsequent calls to the specified function, where function is one of the following: gaddtext, gtitle, gxtitle, gytitle, gztitle, gxtick, gytick, or gztick. The integer scalar size specifies the height of the font in points, the argument type face is described in gtitlefont(type face) . This call uses the default color which is "black" and the special styles "bold", "italic", "underline", and "overstrike" are turned off.

Example
If you enter
     ginit
     gtitlefont("symbol", 16)
     gtitle("abg")
O-Matrix will place a large title in the Graphic 0 window consisting of the Greek letters alpha, beta, and gamma.