Skip to content

saveas

plot · scripts/plot/util/saveas.m

saveas (h, filename)
saveas (h, filename, format)
  Save the figure H (or the figure that holds the axes H) to FILENAME.
  FORMAT is "fig" or any format of print without the leading "-d" (png,
  jpg, pdf, eps, svg, ...); it defaults to the file extension, and to
  "fig" when there is none.  A missing extension is added.