Specify the string used as a title for the current axis.
An optional list of property/value pairs can be used to change the appearance of the created title text object.
If the first argument hax is an axes handle, then plot into this axis,
rather than the current axes returned by gca
.
The optional return value h is a graphics handle to the created text object.
See also: xlabel, ylabel, zlabel, text.
The following code
clf; title ("Test Title Text");
Produces the following figure
Figure 1 |
---|
The following code
clf; title ({"Multi-line"; "Title"; "Text"});
Produces the following figure
Figure 1 |
---|
The following code
clf; plot3 ([0,1], [0,1], [0,1]); title ("Test FontSize Property", "fontsize", 16);
Produces the following figure
Figure 1 |
---|
Package: octave