From: W. Trevor King Date: Tue, 9 Nov 2010 18:22:53 +0000 (-0500) Subject: Document raster direction in plot_image.py. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bbc2f27977cde8c17385df38b2ef80a199568bc3;p=assignment-template.git Document raster direction in plot_image.py. --- diff --git a/src/plot_image/plot_image.py b/src/plot_image/plot_image.py index 0262cfd..4854eea 100755 --- a/src/plot_image/plot_image.py +++ b/src/plot_image/plot_image.py @@ -10,7 +10,20 @@ Step 2: pipe data into python script:: ./gen_data | ./plot_image.py -s nx,ny -c nc -t 'image title' -Data should be one ASCII float per line, +Data should be one ASCII float per line, in the following order:: + + z[x1,y1] + z[x2,y1] + ... + z[nN,y1] + z[x1,y2] + ... + z[xN,y2] + ... + z[xN,yN] + +where `x` increases from `x1` to `xN` and `y` increases from `y1` +through `yN`. For usage info, run::