aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/facetron.gp2
-rw-r--r--src/facetron.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/facetron.gp b/scripts/facetron.gp
index 42e38520..d1d95ac4 100644
--- a/scripts/facetron.gp
+++ b/scripts/facetron.gp
@@ -4,4 +4,4 @@ set xrange [0:1]
set yrange [0:1]
unset key
set size square
-plot "iteration-1.dat" using 4:5 w p ps 1 pt 7 lc -1
+plot "iteration-1.dat" using 7:8 w p ps 1 pt 7 lc -1
diff --git a/src/facetron.c b/src/facetron.c
index 73629eed..d04facf4 100644
--- a/src/facetron.c
+++ b/src/facetron.c
@@ -151,8 +151,9 @@ static double mean_partial_dev(struct image *image, struct cpeak *spots, int n,
delta_I += I_partial - spots[h].p * I_full;
if ( graph != NULL ) {
- fprintf(graph, "%3i %3i %3i %5.2f %5.2f\n",
- hind, kind, lind,
+ fprintf(graph, "%3i %3i %3i %5.2f (at %5.2f,%5.2f)"
+ " %5.2f %5.2f\n",
+ hind, kind, lind, I_partial/spots[h].p, xc, yc,
spots[h].p, I_partial / I_full);
}