Skip to content

eps_all_figs.m

Basic Information

  SYNTAX:
           figs= eps_all_figs;            makes f1.eps f2.eps ... all figs
           figs= eps_all_figs(fig_nums);  makes f2.eps f?.eps ... from fig_nums
           figs= eps_all_figs([],1);      prints all figures to file: figs.eps
           figs= eps_all_figs([],'ps'); prints to f2.ps instead of .eps

  PURPOSE: makes f#.eps for each figure in fig_nums (or all figures)
                  # is number of each figure in fig_num (or all open figures)

  INPUT: [default]
   fig_nums = list of figure numbers (ex: fig_num= [1 3 5]; {default all figs}
   append   = 1;   append figures to single big .eps file [0]
            = 'ps' prints to ps instead of eps (does not append)

  OUTPUT:
   Files:   f1.eps, f2.eps, .... f#.eps {NOTE: Will overwrite in local dir}
            if append=1 makes file: figs.ps
   figs = list of figure numbers printed

Dependencies