Changeset 4895


Ignore:
Timestamp:
01/22/09 22:28:06 (4 years ago)
Author:
werner
Message:

Bah, r3ch-plot obviously can't use a pipe as input. Corrected faulty logic
and README.

Location:
developers/werner/wlan/freeze
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • developers/werner/wlan/freeze/README

    r4894 r4895  
    137137- r3ch.plot plots the output of r2ch.py into a PNG file: 
    138138 
    139   ./r1.pl log | ./r2ch.py -p | ./r3ch-plot DIST 
     139  ./r1.pl log | ./r2ch.py -p >tmp 
     140  ./r3ch-plot DIST tmp 
    140141 
    141142  plots the distribution by association type as a function of the hopping 
     
    143144 
    144145  By default, the PNG file is displayed with ImageMagick and then discarded. 
    145   With the option -f, it is written to a file with the name <key>.png or, 
    146   if the input comes from a file, <name>-<key>.png 
     146  With the option -f, it is written to a file named <name>-<key>.png where 
     147  <name> is the name of the input file. 
  • developers/werner/wlan/freeze/r3ch-plot

    r4894 r4895  
    22if [ "$1" = -f ]; then 
    33    shift 
    4     if [ -z "$2" ]; then 
    5         out="set output \"$1.png\"" 
    6     else 
    7         out="set output \"`basename $2`-$1.png\"" 
    8     fi 
     4    out="set output \"`basename $2`-$1.png\"" 
    95else 
    106    out='set output "| display png:-"' 
Note: See TracChangeset for help on using the changeset viewer.