added render script and output png

This commit is contained in:
Simon Wörner
2017-04-05 11:06:33 +02:00
parent b9458b1225
commit 004020105f
6 changed files with 12 additions and 0 deletions

1
V2/delay/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.eps

BIN
V2/delay/delay_idle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
V2/delay/delay_idle_rt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
V2/delay/delay_load.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
V2/delay/delay_load_rt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

11
V2/delay/render.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -o xtrace
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
cd "${SCRIPT_DIR}" && gnuplot -c sleep_delay.gp
while IFS= read -r -d '' f; do
output=$(echo "$f" | sed -E 's/\.eps$/.png/')
convert -density 300 "eps2:${f}" "$output"
done < <(find "${SCRIPT_DIR}" -name '*.eps' -print0)