Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
XRD
darfix
Commits
eabfd65d
Commit
eabfd65d
authored
May 31, 2021
by
Julia Garriga Ferrer
Browse files
[gui][rsm] Add labels
parent
e86c8e14
Changes
1
Hide whitespace changes
Inline
Side-by-side
darfix/gui/rsmWidget.py
View file @
eabfd65d
...
...
@@ -89,7 +89,8 @@ class RSMWidget(qt.QMainWindow):
az
=
numpy
.
arctan2
(
Y
,
mainx
)
xscale
=
(
teta
[
-
1
]
-
teta
[
0
])
/
h
yscale
=
(
az
[
-
1
]
-
az
[
0
])
/
w
self
.
_plotWidget
.
addImage
(
self
.
_moments
[
0
][
0
],
origin
=
(
az
[
0
],
teta
[
0
]),
scale
=
(
yscale
,
xscale
))
self
.
_plotWidget
.
addImage
(
self
.
_moments
[
0
][
0
],
ylabel
=
"2 theta"
,
xlabel
=
"Azimuth"
,
origin
=
(
az
[
0
],
teta
[
0
]),
scale
=
(
yscale
,
xscale
))
else
:
print
(
"
\n
Computation aborted"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment