Commit efe37c88 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: generate_eps

parent bb7e7f86
......@@ -48,7 +48,6 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
#dawncut 0 0 -1 1 ${INPUT_FILE} ${FILE_TAG}a_temp0.prim
#dawncut 0 0 1 1 ${FILE_TAG}a_temp0.prim ${FILE_TAG}a.prim
cp ${INPUT_FILE} ${FILE_TAG}a.prim
dawn -d ${FILE_TAG}a.prim
ps2pdf ${FILE_TAG}a.eps ${FILE_TAG}a_full.pdf
gs -o ${FILE_TAG}a.pdf -sDEVICE=pdfwrite \
......@@ -57,8 +56,8 @@ gs -o ${FILE_TAG}a.pdf -sDEVICE=pdfwrite \
pdftoppm ${FILE_TAG}a.pdf ${FILE_TAG}a -png -singlefile -cropbox
# slice at z = 2m
dawncut 0 0 1 2001 ${INPUT_FILE} ${FILE_TAG}b_temp0.prim
dawncut 0 0 -1 -2000 ${FILE_TAG}b_temp0.prim ${FILE_TAG}b.prim
dawncut 0.01666 0 1 10 ${INPUT_FILE} ${FILE_TAG}b_temp0.prim
dawncut -0.01666 0 -1 0 ${FILE_TAG}b_temp0.prim ${FILE_TAG}b.prim
dawn -d ${FILE_TAG}b.prim
ps2pdf ${FILE_TAG}b.eps ${FILE_TAG}b_full.pdf
gs -o ${FILE_TAG}b.pdf -sDEVICE=pdfwrite \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment