
#define FIGDIR ./Fig

#define PSARGS color=n

#include <SEP.defs>

$ names of the figures ( vplot files and postscript files )

#define FIGLIST marmslow marm2-tt all-tov-.9 all-tov-1.1 \
    green-comp-.7  green-comp-.9 green-comp-1.1 \
        comp-amp comp-phase \
       bandlim-tt vantrier-tt paraxial-tt


#define FIG3NAMES marm2-tt all-tov-.9 all-tov-1.1  \
                  green-comp-.7 green-comp-.9 green-comp-1.1\
                   comp-amp comp-phase

#define V3FILES [[ sub X FIGDIR/X.v3 FIG3NAMES ]]

v3plots&:  V3FILES

FIGDIR/%.v :   if not {{ pushd FIGDIR; cake -q %.v }} and not exist FIGDIR/%.v.save
	pushd FIGDIR; cake %.v

FIGDIR/%.v3 :   if % in FIG3NAMES and not {{ pushd FIGDIR; cake -q %.v3 }}
	pushd FIGDIR; cake %.v3

FIGDIR/all-tov-%.ps: FIGDIR/all-tov-%.v
	pstexpen FIGDIR/all-tov-%.v FIGDIR/all-tov-%.ps scale=4 dumbfat=y big=y

clean&: 
	-RM_CMD *.log 
	-RM_CMD *.aux 
	pushd Fig; cake clean; popd
	pushd Src; cake clean; popd
	pushd Data; cake clean; popd
	

#include <SEP.idoc.rules>

