Skip to content

copyobj

plot · scripts/plot/util/copyobj.m

new = copyobj (h, parent)
  Copy the graphics objects H, with all their descendants, to the new
  parent(s) and return the handles of the copies as a column.
  PARENT is a single handle or one handle per object.  Graphics objects
  need a matching parent: line, text, patch, surface, image, light and
  group objects go into an axes or group, axes go into a figure.