Man Scilab
title_properties
Scilab Data type
title_properties - description of the Title entity
properties
Description
The Title entity as the x_, y_ and z_label, is a child of an
Axes
entity. This entity defines the parameters for title
string drawing:
-
visible:
This field contains the
visible
property value for
the entity . It should be
"on"
or
"off"
.By
default, the title is visible, so the value's property is
"on"
. If
"off"
the title is not displayed on the
screen.
-
text:
This field is the character string vector which contains the title
: the
"@"
character indicates the end of a line.
-
font_size:
The
font_size
property is used to select the type of
size of the title. Its value should be an integer in between 0 and 5
whith stands for 8pt, 10pt, 12pt, 14pt, 18pt and 24pt.
-
font_style:
Seven differents fonts are available : "Courrier", "Symbol",
"Times", "Times Italic", "Times Bold", "User defined". The font_size
property is an index in [0 6] which is associated to the previous font
names.
-
foreground:
This field contains the color used to display the title. Its value
should be a color index (relative to the current colormap).
-
parent:
This property contains the handle of the parent. The parent of the
title entity is always of type
"Axes"
.
Examples
set("figure_style","new") //create a figure
a=get("current_axes");
a.data_bounds=[-2,-4;2,4];
a.axes_visible="on";
a.box="off";
xtitle(['Titre';'Principal'],'x','y');
t=a.title;
t.text //display text on console
t.font_size=4;
t.text="A brand new@title string"
t.font_style=5;
a.x_location="middle";
a.y_location="right";
See Also
set
,
get
,
delete
,
xstring
,
xtitle
,
graphics_entities
,
label_properties
,
Author
Djalel ABDEMOUCHE
Back