Skip to content

reset

builtin · libnexusinterp/corefcn/graphics-proprietary.cc

: reset (h)

Restore the properties of the graphics object h to their default values.

A few layout-related properties are deliberately preserved: for figures, "position", "units", "windowstyle", and "paperunits" keep their current values, and for axes, "position" and "units" are likewise left untouched.

h may be a vector of handles, in which case every listed object is reset in turn.