From 03662d4380b2e168d761c1aa06f8100e17972710 Mon Sep 17 00:00:00 2001 From: jjenista Date: Thu, 27 Oct 2011 18:55:30 +0000 Subject: [PATCH] make it easy to collect data for the paper's error injection figure --- .../Benchmarks/SSJava/MP3Decoder/cp-err-data-to-paper.sh | 7 +++++++ Robust/src/Benchmarks/SSJava/MP3Decoder/nve2latex.cmds | 9 --------- 2 files changed, 7 insertions(+), 9 deletions(-) create mode 100755 Robust/src/Benchmarks/SSJava/MP3Decoder/cp-err-data-to-paper.sh delete mode 100644 Robust/src/Benchmarks/SSJava/MP3Decoder/nve2latex.cmds diff --git a/Robust/src/Benchmarks/SSJava/MP3Decoder/cp-err-data-to-paper.sh b/Robust/src/Benchmarks/SSJava/MP3Decoder/cp-err-data-to-paper.sh new file mode 100755 index 00000000..ad18a254 --- /dev/null +++ b/Robust/src/Benchmarks/SSJava/MP3Decoder/cp-err-data-to-paper.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +if [[ -z $1 ]] ; then +cp normal.txt error.txt nve-diff-ranges.tmp ~/research/Papers/12/pldi.ssjava/err-inj-fig +else +cp normal.txt error.txt nve-diff-ranges.tmp $1/Papers/12/pldi.ssjava/err-inj-fig +fi diff --git a/Robust/src/Benchmarks/SSJava/MP3Decoder/nve2latex.cmds b/Robust/src/Benchmarks/SSJava/MP3Decoder/nve2latex.cmds deleted file mode 100644 index 03af2f85..00000000 --- a/Robust/src/Benchmarks/SSJava/MP3Decoder/nve2latex.cmds +++ /dev/null @@ -1,9 +0,0 @@ -set terminal epslatex input size 2in 1in - -set output injectErrorFigA.tex -plot "normal.txt" with lines, "error.txt" with lines, "nve-diff-ranges.tmp" with steps axes x1y2 - -set output injectErrorFigB.tex -plot [10:15] "normal.txt" with lines, "error.txt" with lines, "nve-diff-ranges.tmp" with steps axes x1y2 - -unset output -- 2.34.1