Printing in Matlab is pretty easy. Just follow the steps illustrated below:
Macintosh
To print a plot or a m-file from a Macintosh, just click on the plot or
m-file, select Print under the File menu, and hit return.
Windows
To print a plot or a m-file from a computer running Windows, just selct
Print from the File menu in the window of the plot or m-file, and hit
return.
Unix
To print a plot on a Unix workstation enter the command:
print -P<printername>
If you want to save the plot and print it later, enter the command:
print plot.ps
Sometime later, you could print the plot using the command "lpr -P
plot.ps" If you are using a HP workstation to print, you would instead use
the command "lpr -d plot.ps"
To print a m-file, just print
it the way you would any other file, using the command "lpr -P
<name of m-file>.m" If you are using a HP workstation to print, you would
instead use the command "lpr -d plot.ps<name of m-file>.m"