From 3a5eacd9262964210d44118a407e30b21157dfa2 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 7 Nov 2016 16:12:01 +0100 Subject: render_hkl: Show max value, and improve documentation for --scale-top --- src/render_hkl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/render_hkl.c') diff --git a/src/render_hkl.c b/src/render_hkl.c index b0dca996..3996814a 100644 --- a/src/render_hkl.c +++ b/src/render_hkl.c @@ -90,6 +90,7 @@ static void show_help(const char *s) " rawcts : the raw number of measurements for the\n" " reflection (no 'epsilon' correction).\n" "\n" +" --scale-top= Manually set the top of the colour scale\n" " --res-ring= Draw a resolution ring at Angstroms.\n" " --highres= Render spots only up to Angstroms.\n" " --no-axes Do not draw reciprocal space axes.\n" @@ -477,7 +478,11 @@ static void render_za(UnitCell *cell, RefList *list, /* Use manual scale top if specified */ if ( scale_top > 0.0 ) { max_val = scale_top; + STATUS("Ignoring boost value (%f) because you used " + "--scale-top\n", boost); + boost = 1.0; } + STATUS("Top of colour scale = %e\n", max_val/boost); scale1 = ((double)wh-border) / (2.0*rmax); scale2 = ((double)ht-border) / (2.0*rmax); -- cgit v1.2.3