Skip to content

hgload

plot · scripts/plot/util/hgload.m

h = hgload (filename)
h = hgload (filename, prop_struct)
[h, old_prop] = hgload (...)
  Recreate the graphics objects stored by hgsave or savefig.  A saved
  figure becomes a new figure and the current one; saved axes and other
  objects are created in the current figure or axes.  PROP_STRUCT, a
  struct of property names and values, is applied to the top-level
  objects instead of the saved values; OLD_PROP returns what they were.