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.23 LE HANDLE AXES
4.23
THE HANDLE AXES

Version 4.0.23 du 10 Janvier 2006 / Version 4.0.24, January 10th 2006
Scilab 3.1 - Scilab 4.0 /  Windows - Linux

4.22       GESTION DES REPERES  / MANAGING THE SYSTEMS OF AXES
ALLER A L'INDEX GENERAL / GO TO THE GENERAL INDEX
ALLER A LA TABLE GENERALE / GO TO THE GENERAL TABLE
4.24       LE HANDLE LABEL / THE HANDLE LABEL 

4.23.01   Présentation  / Presentation
4.23.02   Liste des champs  / Fields list
4.23.03   Parent et enfants  / Parent and children
4.23.04   Déclaration  / Declaring
4.23.10   visible
4.23.11   box
4.23.12   view
4.23.13   axes_visible
4.23.14   axes_reverse
4.23.15   x_location, y_location
4.23.20   background
4.23.21   margins
4.23.22   axes_bounds
4.23.23   data_bounds
4.23.24   isoview
4.23.25   cube_scaling
4.23.26   rotation_angles
4.23.27   zoom_box
4.23.28   auto_clear
4.23.29   auto_scale
4.23.30   log_flags
4.23.31   tight_limits
4.23.32   sub_tics
4.23.33   foreground
4.23.34   grid
4.23.35   auto-ticks
4.23.36   x_, y_, z_ticks.locations
4.23.37   x_, y_, z_ticks.labels
4.23.38   font_size
4.23.39   font_style
4.23.40   font_color
4.23.50   title
4.23.51   x_label
4.23.52   y_label
4.23.53   z_label
4.23.60   line_mode
4.23.61   line_style
4.23.62   thickness
4.23.63   hiddencolor
4.23.70   mark_mode
4.23.71   mark_style
4.23.72   mark_size_unit
4.23.73   mark_size
4.23.74   mark_foreground
4.23.75   mark_background
4.23.80   clip_state
4.23.81   clip_box
4.23.82   user_data
4.23.98   Mon point de vue  / My viewpoint
4.23.99   Zones d'ombre  / Shadowy areas

4.23.01   Présentation  / Presentation

default_axes (get, set)
gda (Axes)
get ("default_axes")
Repère
sda (Axes)
set ("default_axes")
System of axes
Système d'axes


Le handle Axes permet de gérer le repère ou système d'axes dans une  fenetre graphique sous Scilab.
The handle Axes manages the system of axes into a graphic window under Scilab.

Quand une fenetre est crée, un repère de type Axes est automatiquement crée
When a window is created, a system of axes (Axes) is automatically created.

La procédure gda (ou get ("default_axes") ) permet d'accéder au handle par défaut default_axes.
La procédure sda
(ou set ("default_axes") ) rétablit la valeur par défaut initiale des handle Axes.
The procedure gda (or get ("default_axes") ) provides an access to the default  handle default_axes.
The procedure sda
(or set ("default_axes") ) restaures the initial default value of handle Axes.

4.23.02   Liste des champs  / Fields list

Dans la version Scilab 3.1, le handle Axes contient 50+1 champs.
In the  version Scilab 3.1, the handle Axes has 50+1 fields.

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

disp ("4.23.02A");
lines (0);
hf = scf (1);
ha = gca (),
delete (hf);

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



Dans la  version Scilab 4.0, Le handle Axes contient 51+1 champs.
In the version Scilab 4.0, the handle Axes has 51+1 fields.



La procédure sda (ou set ("default_axes") ) rétablit la valeur par défaut initiale des handle Axes.
La procédure gda (ou get ("default_axes") ) permet d'accéder au handle par défaut default_axes.
La figure correspondante n'est pas tracée.
The procedure sda (or set ("default_axes") ) restaures the initial default value of handle Axes.
The procedure gda (or get ("default_axes") ) provides an access to the default  handle default_axes.
The corresponding figure is not drawn.

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

disp ("4.23.02B");
lines (0);
sda ();
hfd = gda (),

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



Dans la programmation Scilab, un repère ou système d'axes est associé à une variable de type 9 ou handle.
In the Scilab programming, a system of axes  is associated to a variable of type 9 or handle.

Le champ Axes.type n'est pas modifiable.

The field Axes.type cannot be modified.

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

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


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





4.23.03   Parent et enfants  / Parent and children

Le handle Axes a pour handle parent la fenetre Figure à laquelle il est associé.
The handle Axes has for handle parent the window Figure to which it is associated.

Le handle Axes peut avoir pour handle enfant un ou plusieurs  handles de niveau 3 et de type Agregation (Scilab 3.1) ou Compound (Scilab 4.0), Grayplot, Label, Matplot et/ou un ou plusieurs handles de niveau 4 et de type Arc, Axis, Champ, Fac3d, Fec, Plot3d, Polyline, Rectangle, Segs, ou Text
The handle Axes can have for handle children one or several handles of level 3 of type Agregation (Scilab 3.1) or Compound (Scilab 4.0), Grayplot, Label, Matplot and/or one or several handles of level 4 of type Arc, Axis, Champ, Fac3d, Fec,  Plot3d, Polyline, Rectangle, Segs, or Text.

4.23.04   Déclaration  / Declaring

current_axes (get, Axes)
gca
get ("current_axes")

La déclaration du handle Axes est effectuée implicitement lors de la déclaration explicite du handle Figure.
The handle Axes is implicitly declared with the explicit declaration of the handle Figure.

On peut récupérer le handle Axes comme l'enfant unique du handle Figure.
It is  possible to recover the handle Axes as the sole child(ren) of handle Figure.

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

disp ("4.23.04A");
hf = scf (1);
ha = hf.children (1),
delete (hf);

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

La fonction gca (ou get ("current_axes") ) retourne le handle Axes.
The function gca (or get ("current_axes") ) returns the handle Axes.

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

disp ("4.23.04B");
hf = scf (1);
ha = get ("current_axes"),
delete (hf);

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

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

disp ("4.23.04C");
hf = scf (1);
ha = gca (),
delete (hf);

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

4.23.10   visible

visible (Axes)

Le champ visible du handle Axes controle si le repère et les différentes figures qu'il contient sont représentées (valeur "on") ou ne sont pas représentées (valeur "off"). La valeur par défaut est la valeur de Figure.visible, en général "on".
The field visible of the handle Axes controls if the system of axes and the figures it contains are represented (value "on") or are not represented (value "off"). The default value is the value of  Figure.visible, usually "on".

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

disp ("4.23.10A");
hf = scf (1);
hf.figure_name = "4.23.10A1";
ha = gca ();
ha.axes_visible = "on";
ha.box = "on";
xfrect (0.1, 0.9, 0.8, 0.8);
xpause (5000000);

ha.visible="off";
hf.figure_name = "4.23.10A2";
xpause (5000000);

ha.visible = "on";
hf.figure_name = "4.23.10A3";

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

Le programme trace et affiche  le repere, l'encadrement et un  rectangle.
The program draws and displays the system of axes, the frame and a  rectangle.



Le champ visible passe à off, et les objets gérés directement par le système d'axes ou indirectement (rectangle) ne sont plus affichés. .
The field visible becomes off, and the objects directly or indirectly (rectangle) managed by the system of axes are no more displayed.



Le champ visible passe à on, et les objets gérés directement par le système d'axes ou indirectement (rectangle) sont affichés à nouveau.
The field visible becomes on, and the objects directly or indirectly (rectangle) managed by the system of axes are again displayed.



4.23.11   box

box (Axes)

Le champ box du handle Axes controle l'affichage des limites du tracé graphique, soit par défaut en deux dimensions le carré unité soit en trois dimensions le cube unité  (valeur "on") ou son non-affichage (valeur "off") . La valeur par défaut est "off".
The field box of the handle Axes controls the display of the limites of the graphic drawing, by default in two dimensions the unit square or in three dimensions the unit cube  (value "on") or its absence of display  (value "off"). The default value is  "off".

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

disp ("4.23.11A");
hf = scf (1);
hf.figure_name = "4.23.11A";
ha = gca ();
ha.box = "on";

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



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

disp ("4.23.11B");
hf = scf (1);
hf.figure_name = "4.23.11B";
ha = gca ();
ha.view = "3d";
ha.box = "on";

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



La couleur du tracé est controlée par le champ Axes.foreground
.
The color of drawing is controled by the field Axes.foreground.

4.23.12   view

view (Axes)

Le champ view du handle Axes controle l'affichage en deux dimensions (valeur "2d") ou en trois dimensions (valeur "3d"). La valeur par défaut est "2d".
The field view of the handle Axes controls the dispaly in two dimensions value "2d" or in three dimensions  (value "3d"). The default value is  "2d".

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

disp ("4.23.12A");
hf = scf (1);
hf.figure_name = "4.23.12A1";
ha = gca ();
ha.box = "on";
xfrect (0.1, 0.9, 0.8, 0.8);
xpause (5000000);

hf.figure_name = "4.23.12A2";
ha.view = "3d";
xpause (5000000);

hf.figure_name = "4.23.12A3";
ha.view = "2d";

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





4.23.13   axes_visible

axes_visible (Axes)

Le champ axes_visible du handle Axes controle l'affichage de chacun des 3 axes (valeur "on") ou leur non affichage (valeur "off"). La valeur par défaut est "off" (non affiché).
The field axes_visible of the handle Axes controls the status of the display of each of the 3 axes: value "on" to display them and "off" for not displaying them. The default value is  "off".

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

disp ("4.23.13A");
hf = scf (1);
hf.figure_name = "4.23.13A1";
ha = gca ();
ha.axes_visible (1) = "on";
xpause (5000000);

hf.figure_name = "4.23.13A2";
ha.axes_visible (1) = "off";
ha.axes_visible (2) = "on";

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

Le programme rend visible l'axe des abscisses.
The program displays the axis of abscissa.



Le programme rend invisible l'axe des abscisses et  visible l'axe des ordonnées.
The program suppresses the axis of abscissa and displays the axis of ordinates.



Le programme rend invisible l'axe des abscisses et  visible l'axe des ordonnées.
The program suppresses the axis of abscissa and displays the axis of ordinates.

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

disp ("4.23.13B");
hf = scf (1);
hf.figure_name = "4.23.13B1";
ha = gca ();
ha.view = "3d";
ha.axes_visible (1) = "on";
xpause (5000000);

ha.axes_visible (1) = "off";
ha.axes_visible (2) = "on";
hf.figure_name = "4.23.13B2";
xpause (5000000);

ha.axes_visible (2) = "off";
ha.axes_visible (3) = "on";
hf.figure_name = "4.23.13B3";

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

Le programme rend visible l'axe des abscisses.
The program displays the axis of abscissa.



Le programme rend invisible l'axe des abscisses et  visible l'axe des ordonnées.
The program suppresses the axis of abscissa and displays the axis of ordinates.



Le programme rend invisible l'axe des abscisses et  visible l'axe des ordonnées.
The program suppresses the axis of abscissa and displays the axis of ordinates.



Le programme rend invisible l'axe des ordonnées et visible l'axe des cotes.
The program suppresses the axis of ordinates and displays the third axis.

Il est possible d'activer ou d'inactiver la représentation des 2-3 axes en faisant une affectation globale.
It is possible to activate or inactivate the representation of the 2-3 axes by doing a global affectation.

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

disp ("4.23.13C");
hf = scf (1);
hf.figure_name = "4.23.13C";
ha = gca ();
ha.view = "3d";
ha.axes_visible = "on";

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



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

disp ("4.23.13D");
hf = scf (1);
hf.figure_name = "4.23.13D";
ha = hf.children;
ha.view = "3d";
ha.axes_visible  = ["on","off","on"];

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



La couleur du tracé est controlée par le champ foreground.
The color of drawing is controled by the field foreground.

L'axe doit être représenté pour avoir le tracé de la grille correspondante.
The axis has to be displayed in order to have the draw of the corresponding grid..

La valeur de Axes.axes_visible est utilisée comme valeur par défaut de Label.visible. Voir 4.24.10   visible
The value of Axes.axes_visible is used as the default value of Label.visible. See 4.24.10   visible

4.23.14   axes_reverse

axes_reverse (Axes)

Le champ axes_reverse du handle Axes controle pour chacun des 2-3 axes la direction de l'échelle de valeurs qui peut être normale (valeur "off") ou inversée (valeur "on"). La valeur par défaut est "off" (normale).
The field axes_reverse of the handle Axes controls for each of the 2-3 axes the direction of the scale of values: normal (value "off") or inverse (value "on"). The default value is  "off" (normal).

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

disp ("4.23.14A");
hf = scf (1);
hf.figure_name = "4.23.14A";
ha = gca ();
ha.axes_visible = "on";
ha.axes_reverse (2) = "on";

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



L'échelle de l'axe des ordonnées a été inversée.
The scale of the axis of ordinates is inversed.

Il est possible d'inverser l'échelle des 2-3 axes en faisant une affectation globale.
It is possible to inverse the scale of the 2-3 axes by doing a global affectation.

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

disp ("4.23.14B");
hf = scf (1);
hf.figure_name = "4.23.14B";
ha = gca ();
ha.view = "3d";
ha.axes_visible = "on";
ha.axes_reverse = "on";

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



4.23.15   x_location, y_location

bottom (x_location, xes)
left (y_location, Axes)
middle (x_location, Axes)
middle (y_location, Axes)
right (y_location, Axes)
top (x_location, Axes)
x_location (Axes)
y_location (Axes)


Le champ x_location du handle Axes positionne l'axe des abscisses en bas du repère (valeur "bottom"), en haut du repère (valeur "top") ou au niveau de y=0 (valeur "middle"). La valeur par défaut est "bottom".
The field x_location of the handle Axes locates the abscissa axis at the bottom of the system of axes (value "bottom"), at the top (value "top") or near y=0 (value "middle"). The default value is "bottom".

Le champ y_location du handle Axes positionne l'axe des ordonnées à gauches du repère (valeur "left"), à droite du repère (valeur "right") ou au niveau de x=0 (valeur "middle"). La valeur par défaut est "left".
The field y_location of the handle Axes locates the ordinate axis at the left of the system of axes (value "left"), at the right (value "right") or near x=0 (value "middle"). The default value is "left".

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

disp ("4.23.15A");
hf = scf (1);
hf.figure_name = "4.23.15A";
ha = gca ();
ha.axes_visible = "on";
ha.x_location = "top";
ha.y_location = "right";

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



Le champ y_location du handle Axes positionne l'axe des ordonnées à gauches du repère (valeur "left"), à droite du repère (valeur "right") ou au niveau de x=0 (valeur "middle"). La valeur par défaut est "left".
The field y_location of the handle Axes locates the ordinate axis at the left of the system of axes (value "left"), at the right (value "right") or near x=0 (value "middle"). The default value is "left".

Il n'y a pas de champ z_location, et les champs x_location et y_location n'opèrent pas dans la représention à trois dimensions.
There is no field z_location, and the fields x_location and y_location do not operate in three dimensions representation.

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

disp ("4.23.15B");
hf = scf (1);
hf.figure_name = "4.23.15B";
ha = gca ();
ha.view = "3d";
ha.axes_visible = "on";
ha.x_location = "top";
ha.y_location = "right";
//ha.z_location = "middle";

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

4.23.20   background

background (Axes)

Le champ background du handle Axes donne la couleur de fond de la zone du repère. Cette couleur est codée par une valeur entière, dans la limite des valeurs définies par le champ Figure.color_map (32 par défaut). Par défaut, la valeur est -2 (blanc).
The field background of the handle Axes gives the background color of the area of the system of axes. This color is coded as an integer value, in the limits of the values defined by the field Figure.color_map (by default 32). By default, the value is -2 (white).

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

disp ("4.23.20A");
hf = scf (1);
hf.figure_name = "4.23.20A";
ha = gca ();
ha.background=4;

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



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

disp ("4.23.20B");
hf = scf (1);
hf.figure_name = "4.23.20B";
ha = gca ();
ha.view = "3d";
ha.background=31;

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



4.23.21   margins

margins (Axes)

Le champ margins du handle Axes indique la position de la zone du repère dans la fenetre, en précisant les marges (gauche, droite, haute, basse) en proportion de la taille de la fenetre. La valeur par défaut est [0.125, 0.125, 0.125, 0.125].
The field margins of the handle Axes indicates the position of the area of the system of axes, by expliciting the margins (left, right, up, down) as a proportion of the size of the window.  The default value is [0.125, 0.125, 0.125, 0.125].

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

disp ("4.23.21A");
hf = scf (1);
hf.figure_name = "4.23.21A";
ha = gca ();
ha.box = "on";
ha.margins=[0.05, 0.02, 0.01, 0.05];

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





En 3D, les 4 marges s'appliquent à la projection 2D.
In 3D representation, the 4 margins are applied to the 2D projection.

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

disp ("4.23.21B");
hf = scf (1);
hf.figure_name = "4.23.21B";
ha = gca ();
ha.view = "3d";
ha.box = "on";
ha.margins=[0.01, 0.01, 0.01, 0.01];

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



4.23.22   axes_bounds

axes_bounds (Axes)

Le champ axes_bounds du handle Axes indique la position de la zone du repère dans la fenetre, en précisant la position du coin supérieur gauche (x, y), la largeur et la hauteur en proportion de la taille de la fenetre. La valeur par défaut est [0, 0, 1, 1].
The field axes_bounds of the handle Axes indicates the position of the area of the system of axes, by expliciting the upper left corner (x,y), the width and height as a proportion of the sizes of the window.  The default value is [0, 0, 1, 1].

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

disp ("4.23.22A");
hf = scf (1);
hf.figure_name = "4.23.22A";
ha = gca ();
ha.box = "on";
ha.axes_visible = "on";
ha.axes_bounds=[0.0, 0.5, 0.8, 0.4];

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



En 3D, les 4 valeurs s'appliquent
à la projection 2D.
In 3D representation, the 4 values are applied to the 2D projection.

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

disp ("4.23.22B");
hf = scf (1);
hf.figure_name = "4.23.22B";
ha = gca ();
ha.view = "3d";
ha.box = "on";
ha.axes_bounds=[0.0, 0.5, 0.8, 0.4];

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



4.23.23   data_bounds

data_bounds (Axes)

Le champ data_bounds du handle Axes donne pour chaque axe les valeurs minimale et maximale. La valeur par défaut est [0, 1] pour chaque axe.
The field data_bounds of the handle Axes gives for each axis the minimal and maximal values. The default value is [0, 1] for each axis.

On indique d'abord les 2 ou 3 valeurs minimales, puis les 2 ou 3 valeurs maximales
[xinf, yinf; xsup, ysup] ou [xinf, yinf, zinf; xsup, ysup, zsup].
The 2 or 3 minimal values are first indicated, then the 2 or 3 maximal values [xinf, yinf; xsup, ysup] or [xinf, yinf, zinf; xsup, ysup, zsup].

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

disp ("4.23.23A");
hf = scf (1);
hf.figure_name = "4.23.23A";
ha = gca ();
ha.axes_visible="on";
ha.box = "on";
ha.data_bounds=[0, -5; 10, 5];

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



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

disp ("4.23.23B");
hf = scf (1);
hf.figure_name = "4.23.23B";
ha = gca ();
ha.axes_visible="on";
ha.box = "on";
ha.view = "3d";
ha.data_bounds=[0, -5, 10; 10, 5, 20];
Télécharger le fichier / Download the file Spas42323B.sce



NB : L'appel de ce champ provoque un plantage avec la version 3.0. Ce défaut est corrigé à partir la version 3.1.1.
Note: Calling this field causes a major problem with the 3.0 version. This problem is corrected from the version 3.1.1.

4.23.24   isoview

isoview (Axes)

Le champ isoview du handle Axes permet d'imposer une représentation isometrique pour avoir la même échelel physique sur les différents axes (par exemple pour avoir un vrai cercle et non une ellipse) (valeur "on") ou une échelle qui optimise la représentation (valeur "off"). La valeur par défaut est "off".
The field isoview of the handle Axes allows the setting of a isometric representation to get the same physical scales on the axes (for instance to heve a true circle and not an ellipse) (value "on") or a scale optimizing the representation (value "off") . The default value is "off".
//  Program Spas42324A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.23.24A");
hf = scf (1);
hf.figure_name = "4.23.24A1";
ha = gca ();
ha.axes_visible="on";

xpause (5000000);
hf.figure_name = "4.23.24A2";
ha.isoview = "on";

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





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

disp ("4.23.24B");
hf = scf (1);
hf.figure_name = "4.23.24B1";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";

xpause (5000000);
hf.figure_name = "4.23.24B2";
ha.isoview = "on";

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





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

disp ("4.23.24C");
hf = scf (1);
hf.figure_name = "4.23.24C1";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
ha.data_bounds = [0,0,0; 2,4,8];
xpause (5000000);

hf.figure_name = "4.23.24C2";
ha.isoview = "on";

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





4.23.25   cube_scaling

cube_scaling (Axes)

Le champ cube_scaling du handle Axes donne une représentation 3D voisine de celle de Matlab (valeur "on"). La valeur par défaut est "off".
The field cube_scaling of the handle Axes provides a 3D representation similar to the one of Matlab (value "on"). The default value is "off".
//  Program Spas42325A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.23.25A");
hf = scf (1);
hf.figure_name = "4.23.25A1";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";

xpause (5000000);
hf.figure_name = "4.23.25A2";
ha.cube_scaling = "on";

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





4.23.26   rotation_angles

rotation_angles (Axes)

Le champ rotation_angles du handle Axes controlent le point de vue de l'observateur. La valeur par défaut est alpha=45 et theta=215 degrés.
The field rotation_angles of the handle Axes control the viewpoint of the observer. The default value is alpha=45 and theta=215 degrees.

Les deux angles alpha et theta sont modifiés par les procedures de tracé en 3 dimensions param3d, param3d1, plot3d, plot3d1, plot3d2, plot3d3, ...
The two angles alpha and theta are modified by the 3D precedures
param3d, param3d1, plot3d, plot3d1, plot3d2, plot3d3, ...

La déclinaison est controlée par l'angle alpha qui donne la pente par rapport au plan horizontal.
The
declination is controled by the angle alpha providing the slope in regard to the horizontal plane.

L'azimut est controlé par l'angle theta  mesuré dans le plan (x,y). L'angle theta=0 correspond à une vision parallèle à l'axe des ordonnées.
The azimut is controled by the angle
theta measured in the plane (x,y). The angle theta=0 corresponds to a view parallel to the axis of ordinates.
//  Program Spas42326A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.23.26A");
hf = scf (1);
hf.figure_name = "4.23.26A1";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
xpause (5000000);

hf.figure_name = "4.23.26A2";
alpha = 130;
theta = 85;
ha.rotation_angles = [alpha, theta];

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







La représentation 2D correspond aux angles alpha=0 et theta=270..
The 2D representation corresponds to angles alpha=0 and theta=270.

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

disp ("4.23.26B");
hf = scf (1);
hf.figure_name = "4.23.26B1";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
ha.rotation_angles = [130, 85];
xpause (5000000);

hf.figure_name = "4.23.26B2";
ha.rotation_angles = [0, 270];

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



4.23.27   zoom_box

zoom_box (Axes)

Le champ zoom_box du handle Axes contient la taille [xinf, yinf, xsup, ysup] du zoom ou [] en absence de zoom.
The field zoom_box of the handle Axes presents the size [xinf, yinf, xsup, ysup] of the zoom or [] in absence of zoom.

Les procédures  zoom_rect et unzoom agissent sur le handle Axes.zoom_box.

The procedures  zoom_rect and unzoom acts on the of the handle Axes.zoom_box.
//  Program Spas42327A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.23.27A");
hf = scf (1);
hf.figure_name = "4.23.27A1";
ha = gca ();
ha.axes_visible="on";
ha.zoom_box

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





En absence de zoom, le champ zoom_box du handle Axes vaut [] .
In absence of zoom, the field zoom_box of the handle Axes is [].





Après un zoom manuel, le champ zoom_box du handle Axes décrit la taille du rectangle affiché.
After a manual zoom, the field zoom_box of the handle Axes describes the size of the rectangle displayed.

NB : les valeurs de l'abscisse affichées dans ha.zoom_box (-0.01 .. 0.23) ne correspondent pas exactement à la zone visualisée (0.05 .. 0.25)  Ce phénomène provient du champ Axes.tights_limits qui vaut "off" par défaut  et arrondit la zone visualisé (Merci à Fabrice Leray).
NOTE: the values of abscissa displayed in ha.zoom_box (-0.01 .. 0.23) do not exactly correspond to the displayed area (0.05 .. 0.25)  This phenomenon is caused by the field Axes.tights_limits which is "off" by default and rounds the area visualized (Thanks to Fabrice Leray).

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

disp ("4.23.27B");
hf = scf (1);
hf.figure_name = "4.23.27B1";
ha = gca ();
ha.axes_visible="on";
xpause (5000000);

hf.figure_name = "4.23.27B2";
ha.zoom_box = [0.0, 0.0, 0.2, 0.1];

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





Le champ Axes.zoom_box ne s'applique qu'aux représentations 2D.
The field Axes.zoom_box only applies to 2D representations.

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

disp ("4.23.27C");
hf = scf (1);
hf.figure_name = "4.23.27C1";
ha = gca ();
ha.axes_visible="on";
ha.zoom_box = [0.0, 0.0, 0.2, 0.1];
xpause (5000000);

hf.figure_name = "4.23.27C2";
ha.view = "3d";
ha.zoom_box,

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





Le champ Axes.zoom_box ne s'applique pas encore aux représentations 3D
.
The field Axes.zoom_box does not yet applies to 3D representations.

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

disp ("4.23.27D");
hf = scf (1);
hf.figure_name = "4.23.27D1";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
ha.zoom_box = [0.0, 0.0, 0.0, 0.2, 0.1, 0.3];
ha.zoom_box,

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





BUG 1731

4.23.28   auto_clear

auto clear (xget, xset)
auto_clear (Axes)
xget ("auto clear")
xset ("auto clear")

Le champ auto_clear du handle Axes permet d'effacer automatiquement  (valeur "on") le tracé précédent en cas d'appel de procédure graphique de haut  niveau  (plot, surf, ...). La valeur par défaut est "off";
The field auto_clear of the handle Axes allows the automatic cleaning (value "on") of the previous drawing when  calling a  high level  graphic procedure or function (plot, surf, ...). The default value is "off".
//  Program Spas42328A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.23.28A");
hf = scf (1);
hf.figure_name = "4.23.28A1";
ha=gca ();
ha.axes_visible="on";
ha.view = "3d";
ha.auto_clear = "off";

x = 1:10;
z = (11-x)'*(11-x);
surf (x, x, z);
z = x'*x;
surf (x, x, z);
ha.rotation_angles = [55,125];

xpause (5000000);
hf.figure_name = "4.23.28A2";
ha.auto_clear = "on";
z = (11-x)'*(11-x);
surf (x, x, z);
ha.rotation_angles = [55,125];
xpause (5000000);

hf.figure_name = "4.23.28A3";
ha.auto_clear = "on";
z = x'*x;
surf (x, x, z);
ha.rotation_angles = [55,125];

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

Avec Axes.auto_clear = "off", les deux surfaces créées par la procédure surf sont tracées.
With Axes.auto_clear = "off", the two surfaces created by the procedure surf are drawn.



Avec Axes.auto_clear = "on", Le tracé d'une surface par la procédure surf est précédé de l'effacement des tracés antérieurs..

With Axes.auto_clear = "on", the drawing od a surface by the procedure surf is preceded by the erasing of the previous drawings..



NB : il faut a chaque fois reforcer la valeur Axes.auto_clear = "on".

NOTE: Each time, it is necessary to put again  Axes.auto_clear = "on".



La fonction xget ("auto clear") retourne la valeur du champ Axes.auto_clear.

The function xget ("auto clear") returns the value of the field Axes.auto_clear.

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

disp ("4.23.28B");
hf = scf ();
ha = gca ();
ha.auto_clear = "on";
v = xget ("auto clear"),
ha.auto_clear = "off";
v = xget ("auto clear"),
delete (hf);

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



NB : ne fonctionne pas correctement sous Scilab 3.1.1 Corrigé dans Scilab 4.0.
NOTE: does not work correctly under Scilab 3.1.1. Corrected in Scilab 4.0.



La procédure xset ("auto clear") modifie la valeur du champ Axes.auto_clear.
The procedure xset ("auto clear") modifies the value of the field Axes.auto_clear.

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

disp ("4.23.28C");
hf = scf ();
hf.figure_name = "4.23.28C";
ha = gca ();
xset ("auto clear", "on");
ha.auto_clear,
xset ("auto clear", "off");
ha.auto_clear,
delete (hf);

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



NB : ne fonctionne pas correctement sous Scilab 3.1.1 Corrigé dans Scilab 4.0.
NOTE: does not work correctly under Scilab 3.1.1. Corrected in Scilab 4.0.



4.23.29   auto_scale

auto_scale (Axes)

Le champ auto_scale du handle Axes permet d'agrandir automatiquement la zone de tracé (valeur "on") en cas d'appel de procédure graphique de haut  niveau  (plot, surf, ...). La valeur par défaut est "off";
The field auto_scale of the handle Axes allows to automatically enlarge the area of drowing (value "on") when  calling a  high level  graphic procedure or function (plot, surf, ...). The default value is "off".

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

disp ("4.23.29A");
hf = scf (1);
hf.figure_name = "4.23.29A1";
ha= gca ();
ha.axes_visible = "on";
ha.auto_scale = "on";
x = 1:10;
z = (11-x)'*(11-x);
surf (x, x, z);
ha.rotation_angles = [55,125];
xpause (5000000);

hf.figure_name = "4.23.29A2";
ha.auto_scale = "on";
x = 1:12;
z = x'*x;
surf (x, x, z);
ha.rotation_angles = [55,125];

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



Avec Axes.auto_scale = "on", le tracé de la seconde surface par la procédure surf accroit les échelles des 3 axes.
With Axes.auto_scale = "on", the drawing of the second surfaces by the procedure surf enlarges the scales of the 3 axes.



Avec Axes.auto_scale = "on", la procédure surf modifie les valeurs de Axes.data_bounds.
With Axes.auto_scale = "on", the procedure surf modifies the values of Axes.data_bounds.

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

disp ("4.23.29B");
hf = scf (1);
hf.figure_name = "4.23.29B1";
ha= gca ();
ha.axes_visible = "on";
x = 1:10;
z = (11-x)'*(11-x);
surf (x, x, z);
ha.data_bounds,

hf.figure_name = "4.23.29B2";
ha.auto_scale = "on";
x = 1:12;
z = x'*x;
surf (x, x, z);
ha.data_bounds,

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





4.23.30   log_flags

log_flags (Axes)

Le champ log_flags du handle Axes code la représentation de l'échelle de l'axe des abscisses (1er caractère) et de l'axe des ordonnées (second caractère), avec la convention n pour linéaire et l pour logarithmique. La valeur par défaut est "nn" ou "nnn".
The field log_flags of the handle Axes codes the representation of the scale of the abscissa axis (1st character) and of the ordinates axis (2nd character), with the convention n for linear and l for logarithmic. The default value is "nn" or "nnn".

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

disp ("4.23.30A");
hf = scf (1);
hf.figure_name = "4.23.30A";
ha = gca ();
ha.axes_visible="on";
ha.data_bounds=[1, 1; 1000, 100000];
ha.log_flags="ll";

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



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

disp ("4.23.30B");
hf = scf (1);
hf.figure_name = "4.23.30B";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
ha.data_bounds=[1, 0, 0.001; 1000, 1, 10];
ha.log_flags="lnl";

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



4.23.31   tight_limits

tight_limits (Axes)

Le champ tight_limits du handle Axes ajuste exactement la zone de représentation aux valeurs limites précisées dans le champ data_bounds (valeur "on") ou élargit cette zone de façon que l'échelle tombe sur des valeurs rondes  (valeur "off"). La valeur par défaut est "off".
The field tight_limits of the handle Axes exactly adjusts the representation area to the limits values explicited in the field data_bounds (value "on") or enlarges this area such as the scale fits round values (value "off"). The default value is "off".

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

disp ("4.23.31A");
hf = scf (1);
hf.figure_name = "4.23.31A1";
ha = gca ();
ha.axes_visible="on";
ha.data_bounds=[0.278, 0.536; 2.385, 8.363];
ha.tight_limits="on";
xpause (5000000);
hf.figure_name = "4.23.31A2";
ha.tight_limits="off";
Télécharger le fichier / Download the file Spas42331A.sce





4.23.32   sub_tics

sub_tics (Axes)

Le champ sub_tics du handle Axes code le nombre de sous-graduations selon chacun des axes. La valeur par défaut est [1, 1].
The field sub_tics of the handle Axes codes the number of sub-tics according to each axis. The default value is [1, 1].

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

disp ("4.23.32A");
hf = scf (1);
hf.figure_name = "4.23.32A";
ha = gca ();
ha.axes_visible="on";
ha.sub_tics = [5, 10];

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



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

disp ("4.23.32B");
hf = scf (1);
hf.figure_name = "4.23.32B";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
ha.sub_tics = [1, 0, 5];

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





BUG 1732

4.23.33   foreground

foreground (Axes)

Le champ foreground du handle Axes code la couleur des axes, du cadre et des graduations. Cette couleur est codée par une valeur entière, dans la limite des valeurs définies par le champ Figure.color_map (32 par défaut). La valeur par défaut est -1 (noir).
The field foreground of the handle Axes codes the color of axes, of the frame and ticks. This color is coded as an integer value, in the limits of the values defined by the field Figure.color_map (by default 32). The default value is -1 (black).

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

disp ("4.23.33A");
hf = scf (1);
hf.figure_name = "4.23.33A";
ha = gca ();
ha.axes_visible="on";
ha.box="on";
ha.foreground = 5;

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



Tous les objets graphiques (rectangle) tracés dans ce repère héritent de la couleur définie par le champ foreground.
All the graphic objects (rectangle) drawn in this system of axes inherit of the color defined by the field foreground.

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

disp ("4.23.33B");
hf = scf (1);
hf.figure_name = "4.23.33B";
ha = gca ();
ha.axes_visible="on";
ha.foreground = 5;
xfrect (0.5, 1, 0.5, 1);
ha.foreground = 3;
xfrect (0, 1, 0.5, 1);

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



La fonction xget ("foreground") retourne la valeur du champ Axes.foreground.

The function xget ("foreground") returns the value of the field Axes.foreground.

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

disp ("4.23.33C");
hf = scf ();
ha = gca ();
ha.axes_visible = "on";
ha.box = "on";
ha.foreground = 29;
v = xget ("foreground"),

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



La procédure xset ("foreground") modifie la valeur
du champ Axes.foreground.
The procedure xset ("foreground") modifies the value of the field Axes.foreground.

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

disp ("4.23.33D");
hf = scf ();
hf.figure_name = "4.23.33D";
ha = gca ();
ha.axes_visible = "on";
ha.box = "on";
xset ("foreground", 27);
ha.foreground,

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



4.23.34   grid

grid (Axes)

Le champ grid du handle Axes code le tracé d'une grille selon les graduations de l'échelle. Pour chacun des 2 ou 3 axes, on donnera la couleur de tracé. Cette couleur est codée par une valeur entière, dans la limite des valeurs définies par le champ Figure.color_map (32 par défaut). La valeur par défaut est -1 (non tracé) .
The field grid of the handle Axes codes the color of the values figured with the scale  For each of the 2 or 3 axes, the drawing color is presented. This color is coded as an integer value, in the limits of the values defined by the field Figure.color_map (by default 32). The default value is -1 (undrawn).

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

disp ("4.23.34A");
hf = scf (1);
hf.figure_name = "4.23.34A";
ha = gca ();
ha.axes_visible="on";
ha.grid = [2, 3];

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



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

disp ("4.23.34B");
hf = scf (1);
hf.figure_name = "4.23.34B";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
ha.grid = [10, 20, 15];

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



4.23.35   auto-ticks

auto_ticks (Axes)

Le champ auto_ticks du handle Axes indique pour chaque axes si les graduations sont affichées automatiquement  (valeur "on") ou ne sont pas affichées (valeur "off"). La valeur par défaut est "on" (automatique).
The field auto_ticks of the handle Axes indicated for each axe if the ticks are displayed (value "on") or are not displayed (value "off"). The default value is "on".

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

disp ("4.23.35A");
hf = scf (1);
hf.figure_name = "4.23.35A";
ha = gca ();
ha.axes_visible="on";
ha.auto_ticks (1) ="off";

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



Une affectation globale s'applique à tous les axes.
A global affectation is applied to all axes.

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

disp ("4.23.35B");
hf = scf (1);
hf.figure_name = "4.23.35B";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";
ha.auto_ticks ="off";

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



4.23.36   x_, y_, z_ticks.locations

x_ticks.locations (Axes)
y_ticks.locations (Axes)
z_ticks.locations (Axes)


Les champs x_ticks.locations, y_ticks.locations et z_ticks.locations du handle Axes sont des vecteurs flottants codant les positions des graduations pour chacun des 3 axes. Les valeurs par défaut sont [0;0.1;0.2;0.3;0.4;0.5;0.6;0.7;0.8;0.9;1] pour x et y et [-1;0;1] pour z. 
The fields x_ticks.locations, y_ticks.locations and z_ticks.locations of the handle Axes are float vectors coding the positions of the graduations for each of the 3 axes. The default values are [0;0.1;0.2;0.3;0.4;0.5;0.6;0.7;0.8;0.9;1] for x and y and [-1;0;1] for z.

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

disp ("4.23.36A");
hf = scf (1);
hf.figure_name = "4.23.36A";
ha = gca ();
ha.axes_visible="on";
ha.x_ticks.locations (1) = 0.10;
ha.x_ticks.locations (2) = 0.34;
ha.x_ticks.locations (3) = 0.38;
ha.x_ticks.locations (4) = 0.42;
ha.x_ticks.locations (5) = 0.46;
ha.x_ticks.locations (6) = 0.50;
ha.x_ticks.locations (7) = 0.54;
ha.x_ticks.locations (8) = 0.58;
ha.x_ticks.locations (9) = 0.62;
ha.x_ticks.locations (10) = 0.66;
ha.x_ticks.locations (11) = 0.90;

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



On remarquera que les positions de la graduation ont changé, mais pas les valeurs affichées.
One notice that the positions of scale have changed, but not the values displayed.

A chaque valeur d'échelle de chacun des axes est associée une chaine de caractères  contenue dans x_ticks.labels, y_ticks.labels et z_ticks.labels respectivement.
To each value of the scale of each axis is associated a string in x_ticks.labels, y_ticks.labels and z_ticks.labels respectivelly.

Pour changer le nombre d'échelons, il faut modifier la liste de type tlist associée à x_, y_ ou z_ticks.locations.
To change the number of graduations, it is necessary to modify the list of type tlist associated to x_, y_ or z_ticks.locations.

4.23.37   x_, y_, z_ticks.labels

x_ticks.labels (Axes)
y_ticks.labels (Axes)
z_ticks.labels (Axes)


Les champs x_ticks.labels, y_ticks.labels et z_ticks.labels du handle Axes sont des vecteurs de chaines codant les textes affichés en face de chaque graduation pour chacun des 3 axes. Les valeurs par défaut sont  ["0.0";"0.1";"0.2";"0.3";"0.4";"0.5";"0.6";"0.7";"0.8";"0.9";"1.0"] pour x et y et ["-1";"0";"1"] pour z. 
The fields x_ticks.labels, y_ticks.labels and z_ticks.labels of the handle Axes are string vectors coding the texts displayed in front of each graduation for each of the 3 axes. The default values are  ["0.0";"0.1";"0.2";"0.3";"0.4";"0.5";"0.6";"0.7";"0.8";"0.9";"1.0"] for x and y and ["-1";"0";"1"] for z.

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

disp ("4.23.37A");
hf = scf (1);
hf.figure_name = "4.23.37A";
ha = gca ();
ha.axes_visible="on";
ha.x_ticks.labels (1) = "50";
ha.x_ticks.labels (2) = "60";
ha.x_ticks.labels (3) = "85";
ha.x_ticks.labels (4) = "100";
ha.x_ticks.labels (5) = "200";
ha.x_ticks.labels (6) = "210";
ha.x_ticks.labels (7) = "250";
ha.x_ticks.labels (8) = "150";
ha.x_ticks.labels (9) = "51";
ha.x_ticks.labels (10) = "49";

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



4.23.38   font_size

font_size (Axes)

Le champ font_size du handle Axes code (valeurs de 1 à 5 voir le 4.18.51) la taille des valeurs figurées avec l'échelle. La valeur par défaut est 1 .
The field font_size of the handle Axes codes (values from 1 to 5 refer to 4.18.51) the size of the values figured with the scale. The default value is 1.

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

disp ("4.23.38A");
hf = scf (1);
hf.figure_name = "4.23.38A";
ha = gca ();
ha.axes_visible="on";
ha.font_size = 10;

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



4.23.39   font_style

font_style (Axes)

Le champ font_style du handle Axes code (valeurs de 1 à 9 voir 4.18.51) la police des valeurs figurées avec l'échelle.  La valeur par défaut est 1 .
The field font_style of the handle Axes codes (values from 1 to 9 see 4.18.51) the police of the values figured with the scale. The default value is 1.

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

disp ("4.23.39A");
hf = scf (1);
hf.figure_name = "4.23.39A";
ha = gca ();
ha.axes_visible="on";
ha.font_style = 9;

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



4.23.40   font_color

font_color (Axes)

Le champ font_color du handle Axes code la couleur des valeurs figurées avec l'échelle. Cette couleur est codée par une valeur entière, dans la limite des valeurs définies par le champ figure.color_map (32 par défaut). La valeur par défaut est -1 (noir) .
The field font_color of the handle Axes codes the color of the values figured with the scale  This color is coded as an integer value, in the limits of the values defined by the field figure.color_map (by default 32). The default value is -1 (black).
//  Program Spas42340A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.23.40A");
hf = scf (1);
hf.figure_name = "4.23.40A";
ha = hf.children;
ha.axes_visible="on";
ha.font_color = 5;

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



4.23.50   title

title (Axes)

Le champ title du handle Axes controle l'affichage d'un texte au dessus du repère. Ce champ title est un handle du type Label (voir 4.24). La valeur par défaut est "".
The field title of the handle Axes controls the display of a text above the system of axes. This field title is a handle of type Label (see 4.24). The default value is "".
//  Program Spas42350A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.23.50A");
hf = scf (1);
hf.figure_name = "4.23.50A";
ha = gca ();
ha.axes_visible="on";
ht = ha.title;
ht.text = "Titre du graphique / Title of the graphic";
ht.font_size = 5;
ht.font_style = 9;
ht.foreground = 2;

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



La position de l'affichage du texte n'est pas controlée.
The place where the text is displayed is not controled.

4.23.51   x_label

x_label (Axes)

Le champ x_label du handle Axes controle l'affichage d'un texte à droite de l'axe des x. Ce champ x_label est un handle du type Label (voir 4.24). La valeur par défaut est "".
The field x_label of the handle Axes controls the display of a text at the right of the x axis. This field title is a handle of type Label (see 4.24). The default value is "".
//  Program Spas42351A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.23.51A");
hf = scf (1);
hf.figure_name = "4.23.51A";
ha = gca ();
ha.axes_visible="on";
ht = ha.x_label;
ht.text = "Abscisses";
ht.font_size = 4;
ht.font_style = 8;
ht.foreground = 3;

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





La position de l'affichage du texte n'est pas controlée.
The place where the text is displayed is not controled.

4.23.52   y_label

y_label (Axes)

Le champ y_label du handle Axes controle l'affichage d'un texte en haut de l'axe des y. Ce champ y_label est un handle du type Label (voir 4.24). La valeur par défaut est "".
The field y_label of the handle Axes controls the display of a text at the top of the y axis. This field title is a handle of type Label (see 4.24). The default value is "".
//  Program Spas42352A
//  Designed for Scilab 3.1 & 4.0
//  Copyright Jacques-Deric Rouault, CNRS, INRIA

disp ("4.23.52A");
hf = scf (1);
hf.figure_name = "4.23.52A";
ha = gca ();
ha.axes_visible="on";
ht = ha.y_label;
ht.text = "Ordonnées";
ht.font_size = 3;
ht.font_style = 7;
ht.foreground = 4;

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





La position de l'affichage du texte n'est pas controlée.
The place where the text is displayed is not controled.

4.23.53   z_label

z_label (Axes)

Le champ z_label du handle Axes controle l'affichage d'un texte en haut de l'axe des z. Ce champ z_label est un handle du type Label (voir 4.24). La valeur par défaut est "".
The field z_label of the handle Axes controls the display of a text at the top of the z axis. This field title is a handle of type Label (see 4.24). The default value is "".

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

disp ("4.23.53A");
hf = scf (1);
hf.figure_name = "4.23.53A";
ha = gca ();
ha.axes_visible="on";
ha.view = "3d";

ht0 = ha.title;
ht0.text = "Titre du graphique / Title of the graphic";
ht0.font_size = 5;
ht0.font_style = 9;
ht0.foreground = 2;

ht1 = ha.x_label;
ht1.text = "Abscisses";
ht1.font_size = 4;
ht1.font_style = 8;
ht1.foreground = 3;

ht2 = ha.y_label;
ht2.text = "Ordonnées";
ht2.font_size = 3;
ht2.font_style = 7;
ht2.foreground = 4;

ht3 = ha.z_label;
ht3.text = "Cote";
ht3.font_size = 2;
ht3.font_style = 6;
ht3.foreground = 5;

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





La position de l'affichage du texte n'est pas controlée.
The place where the text is displayed is not controled.

4.23.60   line_mode

line mode (xget, xset)
line_mode (Axes)
xget ("line mode")
xset ("line mode")


Le champ line_mode du handle Axes code le fonctionnement du graphisme
en mode absolu (valeur "on" ou 1) ou en mode relatif (valeur "off" ou 0).  Le mode relatif  est buggé et  le graphisme Scilab est actuellement bloqué en mode absolu.
The field line_mode of the handle Axes codes the working of the graphism in absolute mode (value "on" or 1) or in relative mode (value "off" or 0). The relative mode has bugs and the graphism Scilab is actually locked in absolute mode.

Le champ line_mode du handle Axes donne la valeur "on" ou "off" par défaut des champs line_mode des handles Axis, Fac3d, Legend, Polyline, Plot3d, Rectangle, Segs. La valeur par défaut est "on".
The field line_mode of the handle Axes gives the default value "on" or "off" of fields line_mode of handles Axis, Fac3d, Legend, Polyline, Plot3d, Rectangle, Segs. The default value is "on".

La fonction xget ("line mode") retourne la valeur du champ Axes.line_mode.

The function xget ("line mode") returns the value of the field Axes.line_mode.

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

disp ("4.23.60A");
hf = scf ();
ha = gca ();
ha.line_mode = "on";
v = xget ("line mode"),
ha.line_mode = "off";
v = xget ("line mode"),
delete (hf);

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



NB : ne fonctionne pas correctement BUG 1479

NOTE: does not work correctly BUG 1479

La procédure xset ("line mode") modifie la valeur du champ Axes.line_mode.
The procedure xset ("line mode") modifies the value of the field Axes.line_mode.

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

disp ("4.23.60B");
hf = scf ();
ha = gca ();
xset ("line mode", 1);
ha.line_mode,
xset ("line mode", 0);
ha.line_mode,
delete (hf);

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



NB : ne fonctionne pas correctement BUG 1479

NOTE: does not work correctly BUG 1479

4.23.61   line_style

line style (xget, xset)
line_style (Axes)
xget ("line style")
xset ("line style")


Le champ line_style du handle Axes code le type de trait utilisé : continu ou pointillé.; Voir
4.18.31   Le type de trait  / Line style
The field line_style of the handle Axes codes the line style: continuous or dashed. See 4.18.31   Le type de trait  / Line style

Le champ line_style du handle Axes donne la valeur par défaut (0..6) des champs line_style des handles Axis, Fac3d, Legend, Polyline, Plot3d, Rectangle, Segs. La valeur par défaut est 0.
The field line_style of the handle Axes gives the default value (0..6) of fields line_style of handles Axis, Fac3d, Legend, Polyline, Plot3d, Rectangle, Segs. The default value is 0.

La fonction xget ("line style") retourne la valeur du champ Axes.line_style.

The function xget ("line style") returns the value of the field Axes.line_style.

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

disp ("4.23.61A");
hf = scf ();
ha = gca ();
ha.line_style = 6;
v = xget ("line style"),
delete (hf);

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



La procédure xset ("line style") modifie la valeur du champ Axes.line_style.
The procedure xset ("line style") modifies the value of the field Axes.line_style.

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

disp ("4.23.61B");
hf = scf ();
ha = gca ();
xset ("line style", 5);
ha.line_style,
delete (hf);

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



NB :
La fonction xget ("line style") ne fonctionne pas correctement sous Scilab 3.1
NOTE: The function xget ("line style") does not work correctly under Scilab 3.1

4.23.62   thickness

thickness (xget, xset)
thickness (Axes)
xget ("thickness")
xset ("thickness")


Le champ thickness du handle Axes code l'épaisseur du trait. Voir
4.18.32   L'épaisseur de trait  / Line thickness
The field thickness of the handle Axes codes the thickness of lines.. See 4.18.32   L'épaisseur de trait  / Line thickness

Le champ thickness du handle Axes donne la valeur par défaut (1..) des champs thickness des handles Axis, Fac3d, Legend, Polyline, Plot3d, Rectangle, Segs. La valeur par défaut est 1.
The field thickness of the handle Axes gives the default value (1..) of fields thickness of handles Axis, Fac3d, Legend, Polyline, Plot3d, Rectangle, Segs. The default value is 1.

La fonction xget ("thickness") retourne la valeur du champ Axes.thickness.

The function xget ("thickness") returns the value of the field Axes.thickness.

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

disp ("4.23.62A");
hf = scf ();
ha = gca ();
ha.thickness = 5;
v = xget ("thickness"),
delete (hf);

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



La procédure xset ("thickness") modifie la valeur du champ Axes.thickness.
The procedure xset ("thickness") modifies the value of the field Axes.thickness.

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

disp ("4.23.62B");
hf = scf ();
ha = gca ();
xset ("thickness", 4);
ha.thickness,
delete (hf);

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



4.23.63   hiddencolor

hiddencolor (xget, xset)
hiddencolor (Axes)
xget ("hiddencolor")
xset ("hiddencolor")


Le champ hiddencolor du handle Axes code la représentation des faces cachées dans les figures 3D.

The field hiddencolor of the handle Axes codes the representation of the hidden faces in the 3D figures.

Le champ hiddencolor du handle Axes donne la valeur par défaut (1..ncouls) des champs hiddencolor des handles Fac3d, Plot3d. La valeur par défaut est 4.
The field hiddencolor of the handle Axes gives the default value (1..ncols) of fields hiddencolor of handles Fac3d, Plot3d. The default value is 4.

La fonction xget ("hidden3d") retourne la valeur du champ Axes.hiddencolor.

The function xget ("hidden3d") returns the value of the field Axes.hiddencolor.

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

disp ("4.23.63A");
hf = scf ();
ha = gca ();
ha.hiddencolor = 5;
v = xget ("hidden3d"),
delete (hf);

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



La procédure xset ("hidden3d") modifie la valeur du champ Axes.hiddencolor.
The procedure xset ("hidden3d") modifies the value of the field Axes.hiddencolor.

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

disp ("4.23.63B");
hf = scf ();
ha = gca ();
xset ("hidden3d", 8);
ha.hiddencolor,
delete (hf);

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



4.23.70   mark_mode

mark_mode (Axes)

Le champ mark_mode du handle Axes code la représentation (valeur "on") ou la non-représentation (valeur "off") des marques. Voir
4.18.41   Le mode mark_mode  / The mode mark_mode
The field mark_mode of the handle Axes codes the displaying (value "on") ot the non-displaying (value "off") of marks. See 4.18.41   Le mode mark_mode  / The mode mark_mode.

Le champ mark_mode du handle Axes donne la valeur par défaut (1..ncouls) des champs mark_mode des handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. La valeur par défaut est "off".
The field mark_mode of the handle Axes gives the default value (1..ncols) of fields mark_mode of handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. The default value is "off".

4.23.71   mark_style

mark (xget, xset)
mark_style (Axes)
xget ("mark")
xset ("mark")


Le champ mark_style du handle Axes code le type de marque représenté (valeur 0..14). Voir
4.18.42   Les types de marque  / Mark style
The field mark_style of the handle Axes codes the kind of mark represented (value 0..14). See 4.18.42   Les types de marque  / Mark style

Le champ mark_style du handle Axes donne la valeur par défaut du champ mark_style des handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. La valeur par défaut est 0.
The field mark_style of the handle Axes gives the default value (1..ncols) of fields mark_style of handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. The default value is 0.

La fonction xget ("mark") retourne un vecteur contenant le type de la marque (champ Axes.mark_style) et sa taille.

The function xget ("mark") returns a vector with the kind of the mark (field Axes.mark_style) and its size.

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

disp ("4.23.71A");
hf = scf ();
ha = gca ();
ha.mark_style= 5;
v = xget ("mark"),
delete (hf);

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





La procédure xset ("mark") modifie la valeur du champ Axes.mark_style et de la taille.
The procedure xset ("mark") modifies the value of the field Axes.mark_style and of the size.

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

disp ("4.23.71B");
hf = scf ();
ha = gca ();
xset ("mark", 8, 1);
ha.mark_style,
delete (hf);

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



4.23.72   mark_size_unit

mark_size_unit (Axes)

Le champ mark_size_unit du handle Axes code la façon dont est mesurée la taille de la marque (valeur "point" ou "tabulated"). Voir
4.18.43   Le controle de la taille  / Controling size
The field mark_size_unit of the handle Axes codes the way the size of mark is measured (value "point" or "tabulated"). See 4.18.43   Le controle de la taille  / Controling size

Le champ mark_size_unit du handle Axes donne la valeur par défaut du champ mark_size_unit des handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. La valeur par défaut est "tabulated".
The field mark_size_unit of the handle Axes gives the default value of fields mark_size_unit of handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. The default value is "tabulated".

4.23.73   mark_size

mark (xget, xset)
mark_size (Axes)
xget ("mark")
xset ("mark")


Le champ mark_size_unit du handle Axes code la façon dont est mesurée la taille de la marque (valeur "point" ou "tabulated"). Voir
4.18.43   Le controle de la taille  / Controling size
The field mark_size_unit of the handle Axes codes the way the size of mark is measured (value "point" or "tabulated"). See 4.18.43   Le controle de la taille  / Controling size

Le champ mark_size_unit du handle Axes donne la valeur par défaut du champ mark_size_unit des handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. La valeur par défaut est 0.
The field mark_size_unit of the handle Axes gives the default value of fields mark_size_unit of handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. The default value is 0.

La fonction xget ("mark") retourne un vecteur contenant le type de la marque et sa taille (champ Axes.mark_size).

The function xget ("mark") returns a vector with the kind of the mark and its size(field Axes.mark_size) .

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

disp ("4.23.73A");
hf = scf ();
ha = gca ();
ha.mark_style= 9;
ha.mark_size= 4;
v = xget ("mark"),
delete (hf);

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



NB : ne fonctionne pas correctement sous Scilab 3.1

NOTE: does not work correctly under Scilab 3.1



La procédure xset ("mark") modifie la valeur du champ Axes.mark_style et de la taille.
The procedure xset ("mark") modifies the value of the field Axes.mark_style and of the size.

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

disp ("4.23.73B");
hf = scf ();
ha = gca ();
xset ("mark", 8, 3);
ha.mark_style,
ha.mark_size,
delete (hf);

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



NB : ne fonctionne pas correctement sous Scilab 3.1

NOTE: does not work correctly under Scilab 3.1



La fonction xget ("mark size") retourne la taille de la marque (champ Axes.mark_sizee).
The function xget ("mark size") returns the size of the mark (field Axes.mark_size).

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

disp ("4.23.73C");
hf = scf ();
ha = gca ();
ha.mark_size = 5;
v = xget ("mark size"),
delete (hf);

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



NB : ne fonctionne pas correctement sous Scilab 3.1

NOTE: does not work correctly under Scilab 3.1



La procédure xset ("mark size") modifie la valeur du champ Axes.mark_size.
The procedure xset ("mark size") modifies the value of the field Axes.mark_size.

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

disp ("4.23.73D");
hf = scf ();
ha = gca ();
xset ("mark size", 4);
ha.mark_size,
delete (hf);

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



NB : ne fonctionne pas correctement sous Scilab 3.1

NOTE: does not work correctly under Scilab 3.1



4.23.74   mark_foreground

mark_foreground (Axes)

Le champ mark_foreground du handle Axes code la couleur du trait de la marque. Voir
4.18.40   Les marques  / Marks
The field mark_foreground of the handle Axes codes the color of the drawing of the mark. See 4.18.40   Les marques  / Marks

Le champ mark_foreground du handle Axes donne la valeur par défaut du champ mark_foreground des handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. La valeur par défaut est -1 (noir).
The field mark_foreground of the handle Axes gives the default value of field mark_foreground of handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. The default value is -1 (black).

4.23.75   mark_background

mark_background (Axes)

Le champ mark_background du handle Axes code la couleur du remplissage de la marque. Voir
4.18.40   Les marques  / Marks
The field mark_background of the handle Axes codes the color of the filling of the mark. See 4.18.40   Les marques  / Marks

Le champ mark_background du handle Axes donne la valeur par défaut du champ mark_background des handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. La valeur par défaut est -2 (blanc).
The field mark_background of the handle Axes gives the default value of field mark_background of handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. The default value is -2 (white).

4.23.80   clip_state

clip_state (Axes)

Le champ clip_state du handle Axes code le statut du clippage (valeurs "off", "clipgrf" ou "on"). Voir
4.16.50   La zone de rognage  / Area of clipping
The field clip_state of the handle Axes codes the status of clipping (values "off", "clipgrf" or "on"). See 4.16.50   La zone de rognage  / Area of clipping

Le champ clip_state du handle Axes donne la valeur par défaut du champ clip_state des handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. La valeur par défaut est "off".
The field clip_state of the handle Axes gives the default value of field clip_state of handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. The default value is "off".

4.23.81   clip_box

clip_box (Axes)

Le champ clip_box du handle Axes code la zone de clippage. Voir
4.16.50   La zone de rognage  / Area of clipping
The field clip_box of the handle Axes codes the area of clipping. See 4.16.50   La zone de rognage  / Area of clipping

Le champ clip_box du handle Axes donne la valeur par défaut du champ clip_box des handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. La valeur par défaut est [].
The field clip_box of the handle Axes gives the default value of field clip_box of handles Axis, Fac3d, Legend, Plot3d, Polyline, Rectangle, Segs. The default value is [].

4.23.82   user_data

user_data (Axes)

ATTENTION : Valable uniquement à partir de Scilab 4.0.

WARNING : Only valid from Scilab 4.0.

Le champ user_data du handle Axes est un vecteur qui contient des variables définies par l'utilisateur. Par défaut, ce champ est vide (valeur []).

The field user_data of the handle Axes is a vector containing variables defined by the user. By default, this field is empty (value []).

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

disp ("4.23.82A");
hf = scf (1);
ha = gca ();
ha.axes_visible = "on";
hf.figure_name = "4.23.82A1";
xpause (5000000);

hf.figure_name = "4.23.82A2";
ha.user_data = [ha.font_style,ha.font_size,ha.font_color];
ha.font_style = 1;
ha.font_size = 5;
ha.font_color = 6;
ha.user_data,
xpause (5000000);

hf.figure_name = "4.23.82A3";
ha.font_style = ha.user_data (1);
ha.font_size = ha.user_data (2);
ha.font_color = ha.user_data (3);

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

Les caractéristiques des échelles des axes sont mémorisées dans Axes.user_data, modifiés puis sont rétablies à partir des valeurs mises en mémoire.
The characteristics of the scales of axes are memorized in Axes.user_data, are modified then restaured from the values stored in memory.



4.23.98   Mon point de vue  / My viewpoint

Le handle Axes controle la mise en page des figures graphiques. L'accès à ses différents champs est primordial
The handle Axes controls the make up of graphic figures. The access to its different fields is primordial.

L'usage de la fonction xget et de la procédure xset est à déconseiller et est en cours de classement comme obsolete dans le cadre du nouveau graphisme.
The use of the function xget and of the procedure xset is inadvaisable and will be classed as obsolete in the frame of the new graphism.

4.23.99   Zones d'ombre  / Shadowy areas

BUG 1731 : ligne de l'erreur dans le source
BUG 1732 : sub_tics
BUG 1479 : xset & xget line_mode
         
4.22       GESTION DES REPERES  / MANAGING THE SYSTEMS OF AXES
ALLER A L'INDEX GENERAL / GO TO THE GENERAL INDEX
ALLER A LA TABLE GENERALE / GO TO THE GENERAL TABLE
4.24       LE HANDLE LABEL / THE HANDLE LABEL