aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-02-21 15:20:06 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:42 +0100
commit4af5909b8548e280672e2a62e4fbe5825ce72306 (patch)
tree2839dffe76aafa43f6911fe10e9193cdc86e5231 /src/post-refinement.c
parent81a5fdd798a956391b8645c820f4cbb1f0136504 (diff)
Add units to grid scan axes
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index 488545d4..1f867d35 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -198,10 +198,10 @@ static UnitCell *rotate_cell_xy(const UnitCell *cell, double ang1, double ang2)
static const char *get_label(enum gparam p)
{
switch ( p ) {
- case GPARAM_ANG1 : return "First angle";
- case GPARAM_ANG2 : return "Second angle";
- case GPARAM_R : return "Profile radius";
- case GPARAM_WAVELENGTH : return "Wavelength";
+ case GPARAM_ANG1 : return "First angle (radians)";
+ case GPARAM_ANG2 : return "Second angle (radians)";
+ case GPARAM_R : return "Profile radius (m^-1)";
+ case GPARAM_WAVELENGTH : return "Wavelength (Angstroms)";
default : return "unknown";
}
}