Translate
Translate[g,{x,y,…}]
represents graphics primitives g translated by the vector {x,y,…}.
Translate[g,{{x1,y1,…},{x2,y2,…}, …}]
represents multiple copies of g translated by a collection of vectors.
Details
- Translate[g,{x,y,…}] in effect adds {x,y,…} to each set of coordinates that appear in the graphics primitives g.
- For objects specified with scaled coordinates Scaled[{x,y}], Translate effectively applies its transformation to the corresponding ordinary coordinates.
- Normal[expr] if possible replaces all Translate[gi,…] constructs by versions of the gi in which the coordinates have explicitly been transformed.
- Translate with a list of vectors is a very efficient way to represent multiple, identical copies of an arbitrarily complex shape or image in a graphic.
Examples
open allclose allScope (4)
Properties & Relations (2)
When possible, Normal will transform the coordinates explicitly:
GeometricTransformation is a generalization of Translate:
Text
Wolfram Research (2007), Translate, Wolfram Language function, https://reference.wolfram.com/language/ref/Translate.html (updated 2010).
CMS
Wolfram Language. 2007. "Translate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2010. https://reference.wolfram.com/language/ref/Translate.html.
APA
Wolfram Language. (2007). Translate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Translate.html