A hardcopy of the graph window can be obtained with the MATLAB command print. The command
print filename saves the current graph window in PostScript form to the designated filename, overwriting
it if it already exists. The filename extension ”.ps” is appended to the filename if an extension
is not supplied.
使用print拷贝屏幕。
print filename将当前屏幕内容存到filename文件中,以postscript格式。如果不写.ps扩展名,默认生成ps格式。