Changeset 3beadede in sasview
- Timestamp:
- Mar 26, 2019 7:59:54 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
- Children:
- 85503bc
- Parents:
- 4acca8c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py
rf7e6b30 r3beadede 53 53 self.axes.set_xlabel("Q [$\AA^{-1}$]") 54 54 self.axes.set_ylabel("I(Q) [cm$^{-1}$]") 55 self.axes.set_title("Scattering data") 55 56 self.fig.tight_layout() 56 57 … … 60 61 61 62 if self.data: 62 self.axes.plot(self.data.x, self.data.y) 63 # self.axes.plot(self.data.x, self.data.y, label="Experimental Data") 64 self.axes.errorbar(self.data.x, self.data.y, yerr=self.data.dy, label="Experimental Data") 63 65 self.axes.axvline(qmin) 64 66 self.axes.axvline(qmax1) … … 68 70 self.axes.set_ylim(min(self.data.y) / 2, 69 71 max(self.data.y) * 1.5 - 0.5 * min(self.data.y)) 72 70 73 if self.extrap: 71 self.axes.plot(self.extrap.x, self.extrap.y) 74 self.axes.plot(self.extrap.x, self.extrap.y, label="Extrapolation") 75 76 if self.data or self.extrap: 77 self.axes.legend() 72 78 73 79 self.draw() … … 87 93 self.axes.set_xlabel("Z [$\AA$]") 88 94 self.axes.set_ylabel("Correlation") 95 self.axes.set_title("Real Space Correlations") 89 96 self.fig.tight_layout() 90 97
Note: See TracChangeset
for help on using the changeset viewer.