BIOSCILAB
SCILAB 4.0 PAS-A-PAS
SCILAB 4.0 STEP-BY-STEP

Jacques-Deric Rouault

CNRS / INRIA

Volume 4   LE GRAPHISME
Volume 4   GRAPHISM
4.24 LE HANDLE LABEL
4.24
THE HANDLE LABEL

Version 4.0.26 du 24 Janvier 2006 / Version 4.0.26, January 24th 2006
Scilab 3.1 - Scilab 4.0 /  Windows - Linux

4.23       LE HANDLE AXES  / THE HANDLE AXES
ALLER A L'INDEX GENERAL / GO TO THE GENERAL INDEX
ALLER A LA TABLE GENERALE / GO TO THE GENERAL TABLE
4.30       LE HANDLE AGREGATION / THE HANDLE AGREGATION 

4.24.01   Présentation  / Presentation
4.24.02   Liste des champs  / Fields list
4.24.03   Parent et enfants  / Parent and children
4.24.04   Limitations  / Restrictions
4.24.10   visible
4.24.11   text
4.24.12   font_size
4.24.13   font_style
4.24.14   foreground
4.24.20   auto_rotation
4.24.21   font_angle
4.24.30   auto_position
4.24.31   position
4.24.40   fill_mode
4.24.41   background
4.24.50   Procedure xtitle (P1)
4.24.51   Procedure xtitle (P2)
4.24.52   Procedure xtitle (P3)
4.24.98   Mon point de vue  / My viewpoint
4.24.99   Zones d'ombre  / Shadowy areas

4.24.01   Présentation  / Presentation

Label
Title


Le handle Label code le titre général et les 2-3 légendes des axes d'un repère.
The handle Label codes the general titile and the 2-3 legends of the axes of a system of axes.

Le handle Label correspond uniquement aux champs title, x_label, y_label et z_label d'un repère.

The handle Label uniquely corresponds to the fields title, x_label, y_label and z_label of a system of axes.

Le handle Title n'est pas utilisé.
The handle Title is not used.

4.24.02   Liste des champs  / Fields list

Le handle Label contient +1 champs dans la version Scilab 3.1.
The handle Label has 6+1 fields in the version Scilab 3.1.

//  Program Spas42402A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.02A");
hf = scf (1);
ha = gca ();
hl = ha.title,
delete (hf);

Télécharger le fichier / Download the file Spas42402A.sce



Le handle Label contient 12+1 champs dans la version Scilab 4.0.

The handle Label has 12+1 fields in the version Scilab 4.0.





Dans la programmation Scilab, un label est associé à une variable de type 9 ou handle.
In the Scilab programming, a label  is associated to a variable of type 9 or handle.

Le champ Label.type n'est pas modifiable.

The field Label.type cannot be modified.

//  Program Spas42402B
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.21.02B");
hf = scf (1);
ha = gca ();
hl = ha.title;
hl.type,
delete (hf);


Télécharger le fichier / Download the file Spas42402B.sce



4.24.03   Parent et enfants  / Parent and children

Le handle Label a pour handle parent le repère ou système d'axes auquel il est associé.
The handle Label has for handle parent the system of axes to which it is associated.

Le champ Label.parent n'est pas modifiable.

The field Label.parent cannot be modified.

Le handle Label n'a pas d'enfant
The handle Label has no children.

4.24.04   Limitations  / Restrictions

L'utilisation du handle Label est strictement limité aux 4 champs Axes.title, Axes.x_label, Axes.y_label, Axes.z_label. Voir 4.23.50   title 4.23.51   x_label 4.23.52   y_label 4.23.53   z_label
The use of handle Label is strictly limited to the 4 fields Axes.title, Axes.x_label, Axes.y_label, Axes.z_label. See 4.23.50   title 4.23.51   x_label 4.23.52   y_label 4.23.53   z_label

4.24.10   visible

visible (Label)

Le champ visible du handle Label controle si le texte qu'il contient est représenté (valeur "on") ou n'est pas représentés (valeur "off"). La valeur par défaut est la valeur de Axes.visible, en général "on".
The field visible of the handle Label controls if the text it contains is represented (value "on") or is not represented (value "off"). The default value is the value of  axes.visible, usually "on".

//  Program Spas42410A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.10A");
hf = scf (1);
hf.figure_name = "4.24.10A1";
ha = gca ();
ha.axes_visible = "on";
hlt = ha.title;
hlt.text = "Texte à afficher en titre/Text to be displayed as title";
hlx = ha.x_label;
hlx.text = "Abscissa";
hly = ha.y_label;
hly.text = "Ordinates";
hlz = ha.z_label;
hlz.text = "Altitude";
xpause (5000000);

hf.figure_name = "4.24.10A2";
hlt.visible = "off";
hlx.visible = "off";
hly.visible = "off";
hlz.visible = "off";
xpause (5000000);

hf.figure_name = "4.24.10A3";
hlt.visible = "on";
hlx.visible = "on";
hly.visible = "on";
hlz.visible = "on";
xpause (5000000);
delete (hf);

Télécharger le fichier / Download the file Spas42410A.sce





Le titre et les noms des abscisses et des ordonnées sont affichés, puis les champs visible passent à off et les affichages disparaissent, puis les champs visible passent à on et les affichages redeviennent visibles.
The title and the names of abscissa and ordinates are displayed, then the fields visible become off and the texts are no more displayed, then the fields visible become on and the texts are displayed again.

Le  nom de l'altitude n'apparait que dans les représentations en 3D.
The name of altitude only appears in the 3D representations.

//  Program Spas42410B
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.10B");
hf = scf (1);
hf.figure_name = "4.24.10B1";
ha = gca ();
ha.view = "3d";
hlt = ha.title;
hlt.text = "Texte à afficher en titre/Text to be displayed as title";
hlx = ha.x_label;
hlx.text = "Abscissa";
hly = ha.y_label;
hly.text = "Ordinates";
hlz = ha.z_label;
hlz.text = "Altitude";
xpause (5000000);

hf.figure_name = "4.24.10B2";
hlt.visible = "off";
hlx.visible = "off";
hly.visible = "off";
hlz.visible = "off";
xpause (5000000);

hf.figure_name = "4.24.10B3";
hlt.visible = "on";
hlx.visible = "on";
hly.visible = "on";
hlz.visible = "on";
xpause (5000000);
delete (hf);

Télécharger le fichier / Download the file Spas42410B.sce





La valeur par défaut est la valeur de Axes.visible. Voir 4.23.13   axes_visible
The default value is the value of  Axes.visible. Voir 4.23.13   axes_visible

//  Program Spas42410C
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.10C");
had = sda ();
had.visible = "off";
hf = scf (1);
hf.figure_name = "4.24.10C1";
ha = gca ();
ha.view = "3d";
hlt = ha.title;
hlt.text = "Texte à afficher en titre/Text to be displayed as title";
hlx = ha.x_label;
hlx.text = "Abscissa";
hly = ha.y_label;
hly.text = "Ordinates";
hlz = ha.z_label;
hlz.text = "Altitude";
xpause (5000000);

hf.figure_name = "4.24.10C2";
ha.visible = "on";
hlt.visible = "on";
hlx.visible = "on";
hly.visible = "on";
hlz.visible = "on";
xpause (5000000);
delete (hf);
sda ();

Télécharger le fichier / Download the file Spas42410C.sce

NB : les champs Axes.x_label.text et
Axes.y_label.text ne nont pas correctement présentés si les axes ne sont pas visibles. BUG 1781
Note : the fields Axes.x_label.text and Axes.y_label.text are not correctly displayed if the axes are not visible. BUG 1781

4.24.11   text

text (Label)
@ (Label.text)

Le champ text du handle Label contient le texte à afficher. La valeur par défaut est "".
The field text of the handle Label contains the text to be displayed. The default value is "".

//  Program Spas42411A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.11A");
hf = scf (1);
hf.figure_name = "4.24.11A";
ha = gca ();
ha.axes_visible = "on";
hlt = ha.title;
hlt.text = "Texte à afficher en titre/Text to be displayed as title";
hlx = ha.x_label;
hlx.text = "Abscisse/Abscissa";
hly = ha.y_label;
hly.text = "Ordonnées/Ordinates";
hlz = ha.z_label;
hlz.text = "Altitude/Altitude";

Télécharger le fichier / Download the file Spas42411A.sce



Le caractère @ code le saut de ligne.
The character @code the end of line.

//  Program Spas42411B
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.11B");
hf = scf (1);
hf.figure_name = "4.24.11B";
ha = gca ();
ha.axes_visible = "on";
ha.view = "3d";
hlt = ha.title;
hlt.text = "Texte à afficher en titre@Text to be displayed as title";
hlx = ha.x_label;
hlx.text = "Abscisse@Abscissa";
hly = ha.y_label;
hly.text = "Ordonnées@Ordinates";
hlz = ha.z_label;
hlz.text = "Altitude@Altitude";

Télécharger le fichier / Download the file Spas42411B.sce



NB : Sous Scilab 3.1, le codage du saut de ligne par @ fonctionne pour Axes.title, mais pas pour Axes.x_label, Axes.y_label,  Axes.z_label.

NOTE: Under Scilab 3.1, the coding of end of line by @ works with Axes.title, but not for Axes.x_label, Axes.y_label, Axes.y_label.



NB : Sous Scilab 4.0, le codage du saut de ligne par @ pose un problème pour Axes.z_label.

NOTE: Under Scilab 4.0, the coding of end of line by @ sets a problem with Axes.z_label

4.24.12   font_size

font_size (Label)

Le champ font_size du handle Label code la taille (0..5) du texte à afficher. Voir 4.18.50   Les textes graphiques  / Graphic texts. La valeur par défaut est 1.
The field font_size of the handle Label code the size of the text to be displayed. See 4.18.50   Les textes graphiques  / Graphic texts. The default value is 1.

//  Program Spas42412A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.12A");
hf = scf (1);
hf.figure_name = "4.24.12A";
ha = gca ();
ha.view = "3d";
hlt = ha.title;
hlt.text = "Texte à afficher en titre/Text to be displayed as title";
hlt.font_size = 5;
hlx = ha.x_label;
hlx.text = "Abscissa";
hlx.font_size = 5;
hly = ha.y_label;
hly.text = "Ordinates";
hly.font_size = 5;
hlz = ha.z_label;
hlz.text = "Altitude";
hlz.font_size = 5;

Télécharger le fichier / Download the file Spas42412A.sce





4.24.13   font_style

font_style (Label)

Le champ font_style du handle Label code la police (0..9) du texte à afficher. Voir 4.18.50   Les textes graphiques  / Graphic texts. La valeur par défaut est 6.
The field font_style of the handle Label code the font (0..9) of the text to be displayed. See 4.18.50   Les textes graphiques  / Graphic texts. The default value is 6.

//  Program Spas42413A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.13A");
hf = scf (1);
hf.figure_name = "4.24.13A";
ha = gca ();
ha.view = "3d";
hlt = ha.title;
hlt.text = "Texte à afficher en titre/Text to be displayed as title";
hlt.font_style = 0;
hlx = ha.x_label;
hlx.text = "Abscissa";
hlx.font_style = 1;
hly = ha.y_label;
hly.text = "Ordinates";
hly.font_style = 2;
hlz = ha.z_label;
hlz.text = "Altitude";
hlz.font_style = 6;

Télécharger le fichier / Download the file Spas42413A.sce





4.24.14   foreground

foreground (Label)

Le champ foreground du handle Label code la couleur du texte à afficher. Voir 4.18.10   La couleur  / Color. La valeur par défaut est  -1 (noir).
The field foreground of the handle Label code the color of the text to be displayed. See 4.18.10   La couleur  / Color. The default value is  -1 (black).

//  Program Spas42414A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.14A");
hf = scf (1);
hf.figure_name = "4.24.14A";
ha = gca ();
ha.view = "3d";
hlt = ha.title;
hlt.text = "Texte à afficher en titre/Text to be displayed as title";
hlt.foreground = 2;
hlx = ha.x_label;
hlx.text = "Abscissa";
hlx.foreground = 3;
hly = ha.y_label;
hly.text = "Ordinates";
hly.foreground = 4;
hlz = ha.z_label;
hlz.text = "Altitude";
hlz.foreground = 5;

Télécharger le fichier / Download the file Spas42414A.sce



4.24.20   auto_rotation

auto_rotation (Label)

A partir de la version 4.0.
From Version 4.0.

Le champ auto_rotation du handle Label code si l'angle d'écriture du texte est déterminée automatiquement (valeur "on") ou par la valeur du champ font_angle (valeur "off"). Valeur par défaut "on".
The field auto_rotation of the handle Label codes if the angle of the text writing is automatically (value "on") defined or defined by the value of the field font_angle (value "off"). The default value is  "on".

//  Program Spas42420A
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.20A");
hf = scf (1);
hf.figure_name = "4.24.20A";
ha = gca ();
hlt = ha.title;
hlt.text = "Titre/Title";
hlt.auto_rotation = "off";
hlt.font_angle = 180;

Télécharger le fichier / Download the file Spas42420A.sce



NB : Après avoir mis le champ Label.auto_rotation à off, il faut repréciser la valeur de l'angle. BUG 1786.
NOTE: after giving the value off to the field Label.auto_rotation it is mandotory to give again the value of the angle. BUG 1786.

4.24.21   font_angle

font_angle (Label)

A partir de la version 4.0.
From Version 4.0.

Le champ font_angle du handle Label code l'angle d'écriture du texte. Ce champ est seulement pris en compte si le champ auto_rotation a la valeur "off".
The field font_angle of the handle Label codes the angle of the text writing. This field is only functionnal if the field auto_rotation has the value "off".

La valeur de l'angle est exprimée en degrés dans [0 ; 360].
The value of the angle is expressed in degrees in [0 ; 360].

//  Program Spas42421A
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.21A");
hf = scf (1);
hf.figure_name = "4.24.21A";
ha = gca ();
ha.axes_visible = "on";
hlx = ha.x_label;
hlx.text = "Abscisse/Abscissa";
hlx.auto_rotation = "off";
hlx.font_angle = 350;

Télécharger le fichier / Download the file Spas42421A.sce



NB : Après avoir mis le champ Label.auto_rotation à off, il faut repréciser la valeur de l'angle. BUG 1786.
NOTE: after giving the value off to the field Label.auto_rotation it is mandatory to give again the value of the angle. BUG 1786.

4.24.30   auto_position

auto_position (Label)

A partir de la version 4.0.
From Version 4.0.

Le champ auto_position du handle Label code si l'emplacement d'écriture du texte est déterminée automatiquement (valeur "on") ou par la valeur du champ position (valeur "off"). Valeur par défaut "on".
The field auto_position of the handle Label codes if the place of the text writing is automatically (value "on") defined or defined by the value of the field position (value "off"). The default value is  "on".

//  Program Spas42430A
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.30A");
hf = scf (1);
hf.figure_name = "4.24.30A";
ha = gca ();
ha.axes_visible = "on";
hlt = ha.title;
hlt.text = "Titre/Title";
hlt.auto_position = "off";
hlt.position = [0.5, 0.5];

Télécharger le fichier / Download the file Spas42430A.sce



NB : Après avoir mis le champ Label.auto_posotion à off, il faut repréciser la valeur de la position. BUG 1786.
NOTE: after giving the value off to the field Label.auto_position it is mandatory to give again the value of the position. BUG 1786.

4.24.31   position

position (Label)

A partir de la version 4.0.
From Version 4.0.

Le champ position du handle Label code l'emplacement de l'écriture du texte. Ce champ est seulement pris en compte si le champ auto_position a la valeur "off".
The field position of the handle Label codes the place of the text writing. This field is only functionnal if the field auto_position has the value "off".

L'emplacement est exprimé sous la forme d'un vecteur à deux composantes.
The place of the angle is expressed under the form of a two compounds vector.

//  Program Spas42431A
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.31A");
hf = scf (1);
hf.figure_name = "4.24.31A";
ha = gca ();
ha.axes_visible = "on";
hlt = ha.title;
hlt.text = "Titre/Title";
hlt.auto_position = "off";
hlt.position = [0.2, 0.8];

Télécharger le fichier / Download the file Spas42431A.sce



En 3D, la position correspond aux coordonnées dans l'espace 2D projeté. Le résultat est relativement imprévisible.
In 3D, the position corresponds to the coordinates in the 2D space of projection. The result may be unprevisible.

//  Program Spas42431B
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.31B");
hf = scf (1);
hf.figure_name = "4.24.31B";
ha = gca ();
ha.axes_visible = "on";
ha.view="3d";
hlt = ha.title;
hlt.text = "Titre/Title";
hlt.auto_position = "off";
hlt.position = [0.5, 0.5];

Télécharger le fichier / Download the file Spas42431B.sce



NB : Après avoir mis le champ Label.auto_rotation à off, il faut repréciser la valeur de l'angle. BUG 1786.

NOTE: after giving the value off to the field Label.auto_rotation it is mandotory to give again the value of the angle. BUG 1786.

4.24.40   fill_mode

fill_mode (Label)

A partir de la version 4.0.
From Version 4.0.

Le champ fill_mode du handle Label code le tracé du cadre autour du texte (valeur "on"). Valeur par défaut "off" (cadre non tracé).
The field fill_mode of the handle Label codes the drawing of the box round the text. The default value is  "off" (box not drawn).

Le cadre est tracé dans la même couleur foreground que le texte.
The box is drawn in the same color foreground than the text..

//  Program Spas42440A
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.40A");
hf = scf (1);
hf.figure_name = "4.24.40A";
ha = gca ();
ha.axes_visible = "on";
hlt = ha.title;
hlt.text = "Titre/Title";
hlt.fill_mode="on";

Télécharger le fichier / Download the file Spas42440A.sce



4.24.41   background

background (Label)

A partir de la version 4.0.
From Version 4.0.

Le champ background du handle Label code la couleur de remplissage du cadre. La couleur est choisie dans la palette en cours. Valeur par défaut -2 (blanc).
The field background of the handle Label codes the color of filling  of the box.  The color is chosen in the current palette. The default value is -2 (white).

//  Program Spas42441A
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.41A");
hf = scf (1);
hf.figure_name = "4.24.41A";
ha = gca ();
ha.axes_visible = "on";
hlt = ha.title;
hlt.text = "Titre/Title";
hlt.fill_mode="on";
hlt.background = 5;

Télécharger le fichier / Download the file Spas42441A.sce



4.24.50   Procedure xtitle (P1)

xtitle (Première forme, first form)
@ (xtitle)

La procédure xtitle de première forme ajoute un titre general en haut de la figure.
The procedure xtitle of the first form adds a general title at the top of the figure.

//  Program Spas42450A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.50A");
hf = scf (1);
hf.figure_name = "4.24.50A";
ha = gca ();
ha.axes_visible="on";
ha.box = "on";
xtitle ("Titre général / General title");

Télécharger le fichier / Download the file Spas42450A.sce




Le titre general est placé dans le champ Axes.title.text.

The title is put in the field Axes.title.text.

//  Program Spas42450B
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.50B");
hf = scf (1);
hf.figure_name = "4.24.50B";
ha = gca ();
ha.axes_visible="on";
ha.box = "on";
xtitle ("Titre général / General title");
ha.title.text,
delete (hf);

Télécharger le fichier / Download the file Spas42450B.sce



Il est possible de placer un titre sur des lignes différentes. L'argument doit être un vecteur colonne de chaines avec un titre par ligne ou une chaine avec les titres séparés par @.
It is possible to place a title on different lines. The argument must be a vector column of strings with a title per line or a string with titles separated by @.

//  Program Spas42450C
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.50C");
hf = scf (1);
hf.figure_name = "4.24.50C";
ha = gca ();
ha.axes_visible="on";
ha.box = "on";
titre = ["Titre général";"General title";"Autre titre"];
xtitle (titre);
ha.title.text,

Télécharger le fichier / Download the file Spas42450C.sce



Dans le champ Axes.title.text, les différents titres sont séparés par le symbole @.
In the field Axes.title.text, the different titles are separated by the symbol @.



//  Program Spas42450D
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.50D");
hf = scf (1);
hf.figure_name = "4.24.50D";
ha = gca ();
ha.axes_visible="on";
ha.box = "on";
titre ="Titre général@General title@Autre titre";
xtitle (titre);
ha.title.text,

Télécharger le fichier / Download the file Spas42450D.sce





4.24.51   Procedure xtitle (P2)

xtitle (P2)

La procédure xtitle de seconde forme ajoute en plus les noms des axes abscisses et des ordonnées.
The procedure xtitle of the second form adds the names of axes of abscissa and ordinates.

//  Program Spas42451A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.51A");
hf = scf (1);
hf.figure_name = "4.24.51A";
ha = gca ();
ha.axes_visible="on";
ha.box = "on";
xtitle ("Titre général / General title","xx","yy");

Télécharger le fichier / Download the file Spas42451A.sce





A partir de la version 4.0, la procédure xtitle de seconde forme ajoute en plus les noms des axes abscisses, des ordonnées et de la 3e coordonnée.
From the version 4.0, the procedure xtitle of the second form adds the names of axes of abscissa, ordinates and  of the third coordinate.

//  Program Spas42451B
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.51B");
hf = scf (1);
hf.figure_name = "4.24.51B";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
xtitle ("Titre général / General title","xx","yy","zz");

Télécharger le fichier / Download the file Spas42451B.sce



Les noms des axes sont placés dans les champs Axes.handle.text .
The names of axes are put in the fields Axes.handle.text .

//  Program Spas42451C
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.51C");
hf = scf (1);
hf.figure_name = "4.24.51C";
ha = gca ();
xtitle ("Titre général / General title","xx","yy","zz");
ha.title.text,
ha.x_label.text,
ha.y_label.text,
ha.z_label.text,
delete (hf);

Télécharger le fichier / Download the file Spas42451C.sce



4.24.52   Procedure xtitle (P3)

xtitle (Troisième forme, Third form)

La procédure xtitle de troisième forme ajoute en plus un entier qui code le tracé du cadre autour des textes (1 = tracé).
The procedure xtitle of the third form adds an integer which codes the drawing of a box round the texts (1 = drawing).

//  Program Spas42452A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.52A");
hf = scf (1);
hf.figure_name = "4.24.52A";
ha = gca ();
ha.axes_visible="on";
ha.box = "on";
xtitle ("Titre général / General title","xx","yy", 1);

Télécharger le fichier / Download the file Spas42452A.sce

BUG 1787

//  Program Spas42452B
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.52B");
hf = scf (1);
hf.figure_name = "4.24.52B";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
xtitle ("Titre général / General title","xx","yy","zz", 1);

Télécharger le fichier / Download the file Spas42452B.sce

BUG 1787

Les noms des axes sont placés dans les champs Axes.label.fill_mode
The names of axes are put in the fields Axes.label.fill_mode

//  Program Spas42452C
//  Designed for Scilab 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.24.52C");
hf = scf (1);
hf.figure_name = "4.24.52C";
ha = gca ();
xtitle ("Titre général / General title","xx","yy","zz",1);
ha.title.fill_mode,
ha.x_label.fill_mode,
ha.y_label.fill_mode,
ha.z_label.fill_mode,
delete (hf);

Télécharger le fichier / Download the file Spas42452C.sce

BUG 1787

4.24.99   Zones d'ombre  / Shadowy areas

NB : les champs Axes.x_label.text et Axes.y_label.text ne nont pas correctement présentés si les axes ne sont pas visibles. BUG 1781
Note : the fields Axes.x_label.text and Axes.y_label.text are not correctly displayed if the axes are not visible. BUG 1781

BUG 1787 : erreur de syntaxe pour le tracé des axes avec xtitle


4.23       LE HANDLE AXES  / THE HANDLE AXES
ALLER A L'INDEX GENERAL / GO TO THE GENERAL INDEX
ALLER A LA TABLE GENERALE / GO TO THE GENERAL TABLE
4.30       LE HANDLE AGREGATION / THE HANDLE AGREGATION