aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-09-27 16:52:44 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:38 +0100
commit1516c764100470c2b77a53ea457c02c300240ad2 (patch)
treeb3ce20ec25f51eeb97400562dfd0e9584f04b59d /src/scaling-report.c
parentd749e8713072d7fd48693be1075274a3fe4057e8 (diff)
Put the partiality graphs the right way round
Diffstat (limited to 'src/scaling-report.c')
-rw-r--r--src/scaling-report.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c
index 6b35b42a..8476bd25 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -767,7 +767,7 @@ void sr_iteration(SRContext *sr, int iteration, struct image *images, int n,
cairo_stroke(sr->cr);
cairo_set_dash(sr->cr, NULL, 0, 0.0);
cairo_translate(sr->cr, 0.0, -150.0);
- partiality_histogram(sr->cr, images, n, full, 0, 0);
+ partiality_histogram(sr->cr, images, n, full, 1, 0);
cairo_restore(sr->cr);
cairo_save(sr->cr);
@@ -780,7 +780,7 @@ void sr_iteration(SRContext *sr, int iteration, struct image *images, int n,
cairo_set_dash(sr->cr, NULL, 0, 0.0);
cairo_translate(sr->cr, 230.0, 200.0);
cairo_rotate(sr->cr, -M_PI_2);
- partiality_histogram(sr->cr, images, n, full, 1, 1);
+ partiality_histogram(sr->cr, images, n, full, 0, 1);
cairo_restore(sr->cr);
cairo_restore(sr->cr);