Skip to content

refreshdata

plot · scripts/plot/util/refreshdata.m

refreshdata ()
refreshdata (h)
refreshdata (h, workspace)
  Re-evaluate the data source expressions of plots.  For the objects H
  (default: the current figure) and all their descendants, every
  property called XDataSource, YDataSource, ... that holds a non-empty
  string is evaluated, in the "base" (default) or "caller" workspace, and
  the value is stored in the matching XData, YData, ... property.