Publication date: 04/12/2021

The Translate Command

You have actually seen the Translate command in earlier sample scripts. It sets the position from which the scene is viewed. The arguments give the amount to move from the current position in the x, y, and z direction.

Translate (x, y, z)

For example,

Translate( 0.0, 0.0, -2 );

moves the origin two units in the negative z direction.

Initially, the origin and camera were at the same place. Now, the camera can see the origin because the camera faces down the negative z axis.

Want more information? Have questions? Get answers in the JMP User Community (