printd
printd (h, filename) Write the figure H to a file whose format follows from the file name suffix: pdf, ps, eps (vector), jpg, jpeg (raster) or txt (a character graphics dump).
printdprintd (h, filename) Write the figure H to a file whose format follows from the file name suffix: pdf, ps, eps (vector), jpg, jpeg (raster) or txt (a character graphics dump).