### Syntax

`swplot.translate(mode)`

`swplot.translate(mode, hFigure)`

### Description

`swplot.translate(mode)` translates the objects of an active swplot figure, where the coordinate system is defined by the plane of the figure with horizontal $x$-axis, vertical $y$-axis and out-of-plane $z$-axis.

`swplot.translate(mode, hFigure)` acts on the figure referenced by the `hFigure` handle.

### Input Arguments

`mode`
Either a vector with three numbers that determine the translation vector in the figure plane coordinate system, or `'auto'` that centers figure to the middle of the objects. Default value is `'auto'`.
`hFigure`
Handle of the swplot figure, default value is the active figure.
{"ft_lang_label":"__label__en","ft_lang_prob":0.70363665,"math_prob":0.9121924,"size":653,"snap":"2020-34-2020-40","text_gpt3_token_len":145,"char_repetition_ratio":0.17873652,"word_repetition_ratio":0.0,"special_character_ratio":0.19142419,"punctuation_ratio":0.12931034,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98814803,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-15T19:40:02Z\",\"WARC-Record-ID\":\"<urn:uuid:3e24c00f-6d9e-4b09-b591-63f61025c0dd>\",\"Content-Length\":\"11374\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:02a35391-0cfa-4fde-b612-1be693a09785>\",\"WARC-Concurrent-To\":\"<urn:uuid:66d70f89-a993-4bdf-b43f-fad55230b2b0>\",\"WARC-IP-Address\":\"185.199.108.153\",\"WARC-Target-URI\":\"https://spinw.org/swplot_translate\",\"WARC-Payload-Digest\":\"sha1:WC6MLJEM3XAUEDV77M4XLX55CRBF56WC\",\"WARC-Block-Digest\":\"sha1:KB3UF73IO476DTVTRHSKZW6HNBXHG7YL\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439741154.98_warc_CC-MAIN-20200815184756-20200815214756-00072.warc.gz\"}"}