Contents Previous Next Subchapters

Defining A Title For Current Viewport
Syntax gtitle(title)
See Also title , gxyztitle , gfont , gaddtext
Menu Command Graphics | Viewport | Title . . .

Description
Displays title at the top of the current viewport, where title is a character row vector.

Example
If you enter
     ginit
     theta = 0. : .1 : 2 * pi
     gplot(theta, sin(theta))
     gtitle("sin(theta)")
O-Matrix will put a title at the top of a plot of the sine function.

Mlmode
In Mlmode this function is called title instead of gtitle. If in Mlmode you enter,
     omginit;
     theta = 0. : .1 : 2 * pi;
     plot(theta, sin(theta));
     title('sin(theta)');
O-Matrix will put a title at the top of a plot of the sine function.