Commit eabfd65d authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[gui][rsm] Add labels

parent e86c8e14
......@@ -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("\nComputation aborted")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment