![]() ORSCILAB
|
SCILAB 3.1 PAS-A-PAS SCILAB 3.1 STEP-TO-STEP Jacques-Deric Rouault Laboratoire de Neurobiologie de l'Apprentissage, de la Mémoire et de la Communication. CNRS UMR 8620, Bat. 446, Université Paris-Sud, F91400 Orsay |
Volume
4
LE GRAPHISME Volume 4 GRAPHISM |
4.38
LE GRAPHISME 2D 4.38 THE 2D GRAPHISM |
Version 3.1.100 du 29 juin 2005 / Version 3.1.100, June 29th 2005 |
Scilab 3.1.1 |
ALLER A
L'INDEX GENERAL / GO TO
THE GENERAL INDEX |
ALLER A LA TABLE GENERALE / GO TO THE GENERAL TABLE |
4.39 OPTIONS GRAPHIQUES / GRAPHIC OPTIONS |
4.38.01
Présentation / Presentation 4.38.10 Le zoom / zooming 4.38.11 Procedure zoom_rect 4.38.12 Procedure unzoom (P1) 4.38.13 Procedure unzoom (P2) |
4.38.01
Présentation / Presentation |
4.38.10 Le
zoom
/ zooming |
Zoom Zooming |
4.38.11 Procedure zoom_rect
|
zoom_rect |
disp
("4.38.11A");
hf = scf (1); hf.figure_name = "4.38.11A1"; ha = hf.children; ha.axes_visible="on"; xfrect (0.1, 0.9, 0.8, 0.8); xpause (5000000); hf.figure_name = "4.38.11A2"; zoom_rect ([-0.1, -0.1, 0.3, 0.2]); xpause (5000000); delete (hf); |
disp
("4.38.11B");
hf = scf (1); hf.figure_name = "4.38.11B1"; ha = hf.children; ha.axes_visible="on"; ha.zoom_box, xfrect (0,1, 1, 1); xpause (5000000); hf.figure_name = "4.38.11B2"; zoom_rect ([-10, -1, 10, 2]); ha.zoom_box, xpause (5000000); hf.figure_name = "4.38.11B3"; ha.zoom_box =[-10, -1, 10, 2]; ha.zoom_box, xpause (5000000); delete (hf); |
disp
("4.38.11C");
hf = scf (1); hf.figure_name = "4.38.11C"; ha = hf.children; zoom_rect ([-0.1, -0.1, 0.3, 0.2]); ha.zoom_box, delete (hf); |
4.38.12 Procedure unzoom (P1) |
unzoom (P1) |
disp
("4.38.12A");
hf = scf (1); hf.figure_name = "4.38.12A1"; ha = hf.children; ha.axes_visible="on"; xfrect (0.1, 0.9, 0.8, 0.8); zoom_rect ([-0.1, -0.1, 0.3, 0.2]); xpause (5000000); hf.figure_name = "4.38.12A2"; unzoom (); xpause (5000000); delete (hf); |
disp
("4.38.12B");
hf = scf (1); hf.figure_name = "4.38.12B1"; ha = hf.children; ha.axes_visible="on"; xfrect (0.1, 0.9, 0.8, 0.8); zoom_rect ([-0.1, -0.1, 0.3, 0.2]); xpause (5000000); hf.figure_name = "4.38.12B2"; ha.data_bounds = [-1, -1; 2, 3]; unzoom (); xpause (5000000); delete (hf); |
disp
("4.38.12C");
hf = scf (1); hf.figure_name = "4.38.12C1"; subplot (2, 2, 1); ha1 = gca (); ha1.axes_visible = "on"; ha1.box = "on"; xfrect (0.1, 0.4, 0.2, 0.2); hr1 = gce (); hr1.foreground = 2; zoom_rect ([0, 0, 0.2, 0.2]); subplot (2, 2, 2); ha2 = gca (); ha2.axes_visible = "on"; ha2.box = "on"; xfrect (0.1, 0.4, 0.2, 0.2); hr2 = gce (); hr2.foreground = 3; zoom_rect ([0.2, 0, 0.4, 0.2]); subplot (2, 2, 3); ha3 = gca (); ha3.axes_visible = "on"; ha3.box = "on"; xfrect (0.1, 0.4, 0.2, 0.2); hr3 = gce (); hr3.foreground = 4; zoom_rect ([0, 0.2, 0.2, 0.4]); subplot (2, 2, 4); ha4 = gca (); ha4.axes_visible = "on"; ha4.box = "on"; xfrect (0.1, 0.4, 0.2, 0.2); hr4 = gce (); hr4.foreground = 5; zoom_rect ([0.2, 0.2, 0.4, 0.4]); xpause (5000000); hf.figure_name = "4.38.12C2"; unzoom (); xpause (5000000); delete (hf); |
4.38.13 Procedure unzoom (P2) |
unzoom (P2) |
disp
("4.38.13A");
hf = scf (1); hf.figure_name = "4.38.13A1"; subplot (2, 2, 1); ha1 = gca (); ha1.axes_visible = "on"; ha1.box = "on"; xfrect (0.1, 0.4, 0.2, 0.2); hr1 = gce (); hr1.foreground = 2; zoom_rect ([0, 0, 0.2, 0.2]); subplot (2, 2, 2); ha2 = gca (); ha2.axes_visible = "on"; ha2.box = "on"; xfrect (0.1, 0.4, 0.2, 0.2); hr2 = gce (); hr2.foreground = 3; zoom_rect ([0.2, 0, 0.4, 0.2]); subplot (2, 2, 3); ha3 = gca (); ha3.axes_visible = "on"; ha3.box = "on"; xfrect (0.1, 0.4, 0.2, 0.2); hr3 = gce (); hr3.foreground = 4; zoom_rect ([0, 0.2, 0.2, 0.4]); subplot (2, 2, 4); ha4 = gca (); ha4.axes_visible = "on"; ha4.box = "on"; xfrect (0.1, 0.4, 0.2, 0.2); hr4 = gce (); hr4.foreground = 5; zoom_rect ([0.2, 0.2, 0.4, 0.4]); xpause (5000000); hf.figure_name = "4.38.13A2"; unzoom (ha2); xpause (5000000); hf.figure_name = "4.38.13A3"; unzoom ([ha1, ha4]); xpause (5000000); delete (hf); |
4.38.99
Zones d'ombre /
Shadowy areas |
ALLER A
L'INDEX GENERAL / GO TO
THE GENERAL INDEX |
ALLER A LA TABLE GENERALE / GO TO THE GENERAL TABLE |
4.39 OPTIONS GRAPHIQUES / GRAPHIC OPTIONS |