Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Name

tra — Translation of data

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

tra x y z | bck | zer | loc | ref

Description

Translate (i.e.

...

move

...

or

...

shift)

...

the

...

active

...

dataset.

...

Arguments

x y z

Translate dataset in each cordinate by distance x y z.

zer

Translate the dataset to position (0,0,0)

...

(i.e.

...

subtract

...

@xmin,

...

@ymin,

...

@zmin).

...

bck

Translate back the previous operation.

loc

After the translation the location point of the dataset will match the reference point. The location point is the cursor position when set by the command spe loc cur. The reference point is the cursor position when set by the ref command.

ref

Translate so that reference point goes to location point. Se above for explanation of reference and location points.

Examples

Ex.1: Translate a dataset in x, y and z

No Format
bgColor#eeeeee
borderWidth1
         tra 2 4 6       ;# translate active data in x y z values

{noformat}

h3. 

Ex.2:

...

Translate

...

a

...

dataset

...

using

...

location

...

and

...

reference

...

point

...

No Format
bgColor#eeeeee
borderWidth1
# position the cursor at a point in the dataset
    
   spe loc         ;# specify the location point
       
# position the cursor at a position in the screen
       
ref             ;# specify the reference point

       tra loc         ;# translate so that the location point goes to the reference point
{noformat}

h2. See also

[ref - Reference point], [spe|spe - Specify parameters] _loc_
{pagebreak}

See also

ref - Reference point, spe loc