PrintFig:

Path: Common/Graphics

% Prints specified figures to a printer or files.
 The figures may be printed to an encapsulated Postscript file, jpeg or
 png. (For eps will always use -depsc2 -tiff, for jpeg -jpeg90). 
 The default (any number > 3) is pdf.
 To send figures to the default printer use 0 for the type parameter.
--------------------------------------------------------------------------
   Form:
   PrintFig( invertHardCopy, printType, f, fName, pathName, zBuffer )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   invertHardCopy	If true will invert the color of the printed figure
   printType       If == 1 will make eps file; 2, png; 3, jpeg. 
                   Greater than 3 prints to a pdf file. To
                   send to the default printer use 0.
   f             	Set of figures to print
   fName           File name
   pathName      	Path to the file
   zBuffer       	Print in zbuffer mode (before R2014b)

   -------
   Outputs
   -------
   none                   

--------------------------------------------------------------------------

Children:

Common: General/DeBlankAll

Back to the Common Module page