Increase marker size on hkl plots
This commit is contained in:
parent
f27cffa4f8
commit
054bae5b27
@ -535,9 +535,9 @@ def create():
|
|||||||
hklmy = np.dot(hklm, y_vert)
|
hklmy = np.dot(hklm, y_vert)
|
||||||
|
|
||||||
if intensity_flag and max(intensity_vec) != 0:
|
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:
|
else:
|
||||||
markersize = 4
|
markersize = 6
|
||||||
|
|
||||||
if file_flag:
|
if file_flag:
|
||||||
plot_symbol = syms[file_flag_vec[j]]
|
plot_symbol = syms[file_flag_vec[j]]
|
||||||
|
@ -339,9 +339,9 @@ class PlotHKL:
|
|||||||
hklmy = np.dot(hklm, y_vert)
|
hklmy = np.dot(hklm, y_vert)
|
||||||
|
|
||||||
if intensity_flag:
|
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:
|
else:
|
||||||
markersize = 4
|
markersize = 6
|
||||||
|
|
||||||
if file_flag:
|
if file_flag:
|
||||||
plot_symbol = syms[file_flag_vec[j]]
|
plot_symbol = syms[file_flag_vec[j]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user