From 04e52ed0d948cbc94848b96b72cb9c36eac27212 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 26 Sep 2011 14:36:38 +0200 Subject: [PATCH] Generate monochromatic pdfs --- gw-tests/lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gw-tests/lib.sh b/gw-tests/lib.sh index 13004e3..5ecf236 100644 --- a/gw-tests/lib.sh +++ b/gw-tests/lib.sh @@ -61,10 +61,10 @@ _plot() { echo "set terminal x11 enhanced; $(< plot$i.gp)" | gnuplot -persist fi test "$(gnuplot --version)" = "gnuplot 4.2 patchlevel 5 " && continue - echo "set terminal pdfcairo solid color enhanced; " \ + echo "set terminal pdfcairo dashed mono enhanced; " \ "set output \"graph$i.pdf\";" \ "set pointsize 0.5;" \ - "$(< plot.$igp)" | gnuplot + "$(< plot$i.gp)" |sed -e 's/lc [0-9]//'| gnuplot echo 'set terminal pngcairo color enhanced size 750,525 font ",10" ;' \ "$(< plot$i.gp)" | gnuplot > graph$i.png convert -resize 150x105 -gamma 0.5 -quality 90 -type Palette -depth 8 graph$i.png tgraph$i.png -- 2.39.2