From bbc2f27977cde8c17385df38b2ef80a199568bc3 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 9 Nov 2010 13:22:53 -0500 Subject: [PATCH] Document raster direction in plot_image.py. --- src/plot_image/plot_image.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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:: -- 2.26.2