Skip to content

savefig

plot · scripts/plot/util/savefig.m

savefig (filename)
savefig (fig, filename)
savefig (fig, filename, "compact")
savefig (filename, "compact")
  Save figures to a .fig file (the extension is added when missing; an
  existing file is overwritten).  Without FIG the current figure is
  saved; FIG may be a vector of figures, which are stored together.
  The file can be reopened with openfig or hgload.