Changeset 5346
- Timestamp:
- Oct 9, 2022 9:08:07 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r5345 r5346 11664 11664 gs = mpl.gridspec.GridSpec(2,2,figure=Page.figure) 11665 11665 ax1 = Page.figure.add_subplot(gs[0,0]) 11666 ax2 = Page.figure.add_subplot(gs[1,1] ,projection='3d')11666 ax2 = Page.figure.add_subplot(gs[1,1]) 11667 11667 ax3 = Page.figure.add_subplot(gs[0,1]) 11668 11668 ax4 = Page.figure.add_subplot(gs[1,0]) … … 11676 11676 if CLuDict['codes'] is not None: 11677 11677 for ixyz,xyz in enumerate(XYZ.T): 11678 ax2.scatter(xyz[0],xyz[1], xyz[2],color=Colors[CLuDict['codes'][ixyz]],picker=True)11678 ax2.scatter(xyz[0],xyz[1],color=Colors[CLuDict['codes'][ixyz]],picker=True) 11679 11679 else: 11680 11680 for ixyz,xyz in enumerate(XYZ.T): 11681 ax2.scatter(xyz[0],xyz[1], xyz[2],color=Colors[0],picker=True)11681 ax2.scatter(xyz[0],xyz[1],color=Colors[0],picker=True) 11682 11682 ax2.set_xlabel('PCA axis-1',fontsize=12) 11683 11683 ax2.set_ylabel('PCA axis-2',fontsize=12) 11684 ax2.set_zlabel('PCA axis-3',fontsize=12)11685 11684 ax4.plot(neighD) 11686 11685 ax4.set_xlabel('Data no.',fontsize=12)
Note: See TracChangeset
for help on using the changeset viewer.