Changeset 4840 for trunk/GSASIIplot.py
- Timestamp:
- Mar 5, 2021 1:54:34 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4837 r4840 6757 6757 G2frame.G2plotNB.status.SetStatusText('',1) 6758 6758 G2frame.G2plotNB.status.SetStatusWidths([G2frame.G2plotNB.status.firstLen,-1]) 6759 acolor = mpl.cm.get_cmap(G2frame.VcovColor) 6760 Img = Plot.imshow(Page.covArray,aspect='equal',cmap=acolor,interpolation='nearest',origin='lower', 6761 vmin=-1.,vmax=1.) 6762 imgAx = Img.axes 6763 ytics = imgAx.get_yticks() 6764 ylabs = [Page.varyList[int(i)] for i in ytics[:-1]] 6765 imgAx.set_yticklabels(ylabs) 6766 Page.figure.colorbar(Img) 6767 Plot.set_title('V-Cov matrix'+title) 6768 Plot.set_xlabel('Variable number') 6769 Plot.set_ylabel('Variable name') 6759 if Page.varyList: 6760 acolor = mpl.cm.get_cmap(G2frame.VcovColor) 6761 Img = Plot.imshow(Page.covArray,aspect='equal',cmap=acolor,interpolation='nearest',origin='lower', 6762 vmin=-1.,vmax=1.) 6763 imgAx = Img.axes 6764 ytics = imgAx.get_yticks() 6765 ylabs = [Page.varyList[int(i)] for i in ytics[:-1]] 6766 imgAx.set_yticklabels(ylabs) 6767 Page.figure.colorbar(Img) 6768 Plot.set_title('V-Cov matrix'+title) 6769 Plot.set_xlabel('Variable number') 6770 Plot.set_ylabel('Variable name') 6770 6771 Page.canvas.draw() 6771 6772
Note: See TracChangeset
for help on using the changeset viewer.