To print a figure window from the command line, type print . If you would like to use any of the options, type print -<option> . For more information, type help print at the MATLAB prompt.
If you are working on a Macintosh or a PC, you can also print from the File pulldown menu on the Figure window (for Macintoshes, make sure the Figure window is the selected window).