# Last edited on 2011-03-25 23:48:45 by stolfi

TAGS := un1 un2 un3

FULL_PLOT_FILES := ${addprefix plot-,${addsuffix -full.png,${TAGS}}}
ICON_PLOT_FILES := ${addprefix plot-,${addsuffix -icon.png,${TAGS}}}

all: \
  ${FULL_PLOT_FILES} ${ICON_PLOT_FILES}

# ----------------------------------------------------------------------
# Reactor plots:

plot-un%-full.png: data-un%.txt heat-un%.txt plot-reactor.sh 
	plot-reactor.sh $*

# ----------------------------------------------------------------------
# Icons:
        
plot-%-icon.png: plot-%-full.png
	convert plot-$*-full.png -resize 'x200' plot-$*-icon.png
	-display plot-$*-icon.png