|
Contents | Previous | Next | Subchapters |
| Syntax |
gxtitle(title) |
gytitle(title) | |
gztitle(title) | |
| See Also | xlabel ylabel zlabel , gtitle , gfont , gaddtext |
| Menu Command | Graphics | Axis | Title . . . |
ginit
theta = 0. : .1 : 2 * pi
gplot(theta, sin(theta))
gxtitle("theta")
gytitle("sin(theta)")
O-Matrix will put the corresponding titles on the x and
y axis.
Note that if there is not enough room for the titles, they will not
be seen in the graphics window. You can increase the room for the
titles,
using the gspace
function as follows:
left = .3
right = .02
below = .2
above = .02
gspace(left, right, below, above)
xlabel,
ylabel and
zlabel
instead of
gxtitle,
gytitle and
gztitle
respectively.
If in Mlmode you enter,
omginit;
theta = 0. : .1 : 2 * pi;
plot(theta, sin(theta));
title('sin(theta)');
xlabel('theta');
ylabel('sin(theta)');
omgspace(.3, .02, .2, .02);
O-Matrix will put the corresponding titles on the x and
y axis.