]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
No fixed ranges in plot, so we can zoom in an interactive mode.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 Dec 2007 15:37:25 +0000 (16:37 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 Dec 2007 15:37:25 +0000 (16:37 +0100)
wme_test/plot

index 62d39c6ec13ac768347638be75c9e3ba32f12dfa..0e9378a2b8cba526bd06c72282e36d2ff5ef3726 100755 (executable)
@@ -2,12 +2,12 @@
 
 SET_TERM_TEMPLATE='set term push; set term x11 enhanced; set term wxt enhanced; set term pop'
 
-DELAY_BOUND='*'
+DELAY_BOUND="[]"
 
 while getopts d:esp opt
 do
     case $opt in
-       d) DELAY_BOUND="$OPTARG";;
+       d) DELAY_BOUND="[0:$OPTARG]";;
        e) SET_TERM_TEMPLATE='set term postscript color eps enhanced; set output "${FILE}.eps"';;
        s) SET_TERM_TEMPLATE='set term svg enhanced; set output "${FILE}.svg"';;
        p)
@@ -54,7 +54,7 @@ set title "${TITLE}"
 set key right bottom nobox
 set style data linespoints
 set grid
-plot [0:$DELAY_BOUND] [0:100] \
+plot $DELAY_BOUND \
      "${FILE}.dat" index 0 title "AC\\\\_VO",\
      "${FILE}.dat" index 1 title "AC\\\\_VI",\
      "${FILE}.dat" index 2 title "AC\\\\_BE",\