Skip to content

camtarget

plot · scripts/plot/appearance/camtarget.m

: p = camtarget ()
: camtarget (p)
: camtarget ("auto")
: camtarget ("manual")
: m = camtarget ("mode")
: camtarget (ax, …)

Query or set the camera target of an axes.

A finite real 3-element vector sets the target and switches the target mode to "manual"; "auto" restores the automatic target. The default axes is the current axes.