![]() 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.22 GESTION
DES REPERES 4.22 MANAGING THE SYSTEMS OF AXES |
Version 4.0.19 du 23 Décembre 2005 / Version 4.0.19, December 23th 2005 |
Scilab 3.1 - Scilab 4.0 / Windows - Linux |
ALLER A
L'INDEX GENERAL / GO TO
THE GENERAL INDEX |
ALLER A LA TABLE GENERALE / GO TO THE GENERAL TABLE |
4.23 LE HANDLE AXES / THE HANDLE AXES |
4.22.01
Principe
/ Principle |
4.22.02
Création d'un repère
/ Creating a system of axes |
// Program Spas42202A
// Designed for Scilab 3.1 & 4.0 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.02A"); hf = scf (1); hf.figure_name = "4.22.02A"; ha = hf.children (1); |
// Program Spas42202B
// Designed for Scilab 3.1 & 4.0 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.02B"); hf = scf (1); hf.figure_name = "4.22.02B"; ha = gca (); |
4.22.03
Création contextuelle
/ Contextual creation |
// Program Spas42203A
// Designed for Scilab 3.1 & 4.0 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.03A"); xrect (0, 1, 1, 1); hr = gce (); ha = gca (); |
4.22.09
Création d'un nouveau repère
/ Creating a new system of axes |
newaxes |
// Program Spas42209A
// Designed for Scilab 4.0 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.09A"); hf = scf (1); hf.figure_name = "4.22.09A"; ha1 = gca (); ha1.axes_visible = "on"; ha2=newaxes (); ha2.axes_bounds = [0.2,0.2,0.6,0.6]; ha2.axes_visible = "on"; |
// Program Spas42209B
// Designed for Scilab 4.0 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.09B"); hf = scf (1); hf.figure_name = "4.22.09A"; ha1 = gca (); ha1.axes_visible = "on"; xrect (0.1, 0.9, 0.8, 0.8); ha2=newaxes (); ha2.axes_bounds = [0.2,0.2,0.6,0.6]; ha2.axes_visible = "on"; xrect (0.1, 0.9, 0.8, 0.8); |
4.22.10
Création de plusieurs repères
/ Creating several systems of axes |
subplot |
// Program Spas42210A
// Designed for Scilab 3.1 & 4.0 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.10A"); hf = scf (1); hf.figure_name = "4.22.10A"; ha = gca (); ha.axes_visible = "on"; xpause (5000000); subplot (2, 3, 2); |
// Program Spas42210B
// Designed for Scilab 3.1 & 4.0 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.10B"); hf = scf (1); hf.figure_name = "4.22.10B"; ha = gca (); ha.axes_visible = "on"; xpause (5000000); subplot (233); |
4.22.11
Changer le repère courant
/ Changing the current systems of axes |
subplot |
// Program Spas42211A
// Designed for Scilab 3.1 & 4.0 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.11A"); hf = scf (1); hf.figure_name = "4.22.11A"; subplot (2, 3, 1); ha1 = gce (); ha1.axes_visible = "on"; ha1.foreground = 2; xfrect (0.2, 0.8, 0.6, 0.6); subplot (2, 3, 2); ha2 = gce (); ha2.axes_visible = "on"; ha2.foreground = 3; xfrect (0.2, 0.8, 0.6, 0.6); subplot (2, 3, 3); ha3 = gce (); ha3.axes_visible = "on"; ha3.foreground = 4; xfrect (0.2, 0.8, 0.6, 0.6); subplot (2, 3, 4); ha4 = gce (); ha4.axes_visible = "on"; ha4.foreground = 5; xfrect (0.2, 0.8, 0.6, 0.6); subplot (2, 3, 5); ha5 = gce (); ha5.axes_visible = "on"; ha5.foreground = 6; xfrect (0.2, 0.8, 0.6, 0.6); subplot (2, 3, 6); ha6 = gce (); ha6.axes_visible = "on"; ha6.foreground = 7; xfrect (0.2, 0.8, 0.6, 0.6); |
4.22.12
Recherche des handles
/ Searching handles |
// Program Spas42212A
// Designed for Scilab 3.1 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.12A"); hf = scf (1); hf.figure_name = "4.22.12A"; hf.background = 15; subplot (2, 3, 1); ha1 = hf.children(1); ha1.axes_visible = "on"; ha2 = hf.children (2); ha2.box = "on"; |
// Program Spas42212B
// Designed for Scilab 3.1 // Copyright Jacques-Deric Rouault, CNRS, INRIA disp ("4.22.12B"); hf = scf (1); hf.figure_name = "4.22.12B"; hf.background = 23; ha0 = gca (); ha0.background = 23; subplot (2, 3, 1); ha1 = gce(); ha1.axes_visible = "on"; ha1.background = 2; subplot (2, 3, 2); ha2 = gce (); ha2.axes_visible = "on"; ha2.background = 3; subplot (2, 3, 3); ha3 = gce (); ha3.axes_visible = "on"; ha3.background = 4; subplot (2, 3, 4); ha4 = gce (); ha4.axes_visible = "on"; ha4.background = 5; subplot (2, 3, 5); ha5 = gce (); ha5.axes_visible = "on"; ha5.background = 6; subplot (2, 3, 6); ha6 = gce (); ha6.axes_visible = "on"; ha6.background = 7; |
ALLER A
L'INDEX GENERAL / GO TO
THE GENERAL INDEX |
ALLER A LA TABLE GENERALE / GO TO THE GENERAL TABLE |
4.23 LE HANDLE AXES / THE HANDLE AXES |