Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Aide de Scilab >> Graphiques > transform > move

move

move, translate, a graphic entity and its children.

Syntax

move(h,t)
move(h,t,"alone")

Arguments

h

a handle, the handle of the entity to move.

t

an array, either [dx,dy] or [dx,dy,dz], which gives the translation vector to apply.

"alone"

string keyword (optional).

Description

This routine can be used to apply a translation to a graphics entity. If the entity has children, they will be also translated.

Given the keyword "alone", only the specified entity needs to be redrawn. It must specially be used with the pixel_drawing_mode property of the figure entity (see draw objects under "xor" drawing mode).

Examples

plot3d();
a=gca();
p=a.children(1);
t=[1,0,-1.25];
move(p,t);

See also

  • get — Gets the handle of a graphical or User Interface object, or the property's value of objects.
  • set — set properties of some graphic objects or uimenus or uicontrol interactive components
  • figure_properties — description of the graphics figure entity properties
  • graphics_entities — description of the graphics entities data structures
Report an issue
<< transform transform orthProj >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:33:07 CET 2022