From 054bae5b27c84fce7421bbad4d13b1fa8ec25100 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Fri, 3 Mar 2023 14:34:13 +0100 Subject: [PATCH] Increase marker size on hkl plots --- pyzebra/app/panel_ccl_prepare.py | 4 ++-- pyzebra/app/plot_hkl.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyzebra/app/panel_ccl_prepare.py b/pyzebra/app/panel_ccl_prepare.py index 0049233..c561bfe 100644 --- a/pyzebra/app/panel_ccl_prepare.py +++ b/pyzebra/app/panel_ccl_prepare.py @@ -535,9 +535,9 @@ def create(): hklmy = np.dot(hklm, y_vert) if intensity_flag and max(intensity_vec) != 0: - markersize = max(1, int(intensity_vec[j] / max(intensity_vec) * 20)) + markersize = max(6, int(intensity_vec[j] / max(intensity_vec) * 30)) else: - markersize = 4 + markersize = 6 if file_flag: plot_symbol = syms[file_flag_vec[j]] diff --git a/pyzebra/app/plot_hkl.py b/pyzebra/app/plot_hkl.py index a3030ad..d0a47b1 100644 --- a/pyzebra/app/plot_hkl.py +++ b/pyzebra/app/plot_hkl.py @@ -339,9 +339,9 @@ class PlotHKL: hklmy = np.dot(hklm, y_vert) if intensity_flag: - markersize = max(1, int(intensity_vec[j] / max(intensity_vec) * 20)) + markersize = max(6, int(intensity_vec[j] / max(intensity_vec) * 30)) else: - markersize = 4 + markersize = 6 if file_flag: plot_symbol = syms[file_flag_vec[j]]