Skip to content

Commit 486cc68

Browse files
committed
more mods for micro-ED data
set axes fonts for PlotXY
1 parent 63104b7 commit 486cc68

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

GSASII/GSASIIdataGUI.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8059,9 +8059,11 @@ def OnPlotFoVsFc(event):
80598059
Name = G2frame.GPXtree.GetItemText(G2frame.PatternId)
80608060
refList = data[1]['RefList']
80618061
XY = np.sqrt(np.abs(refList.T[8+Super:10+Super]))
8062-
FoMax = np.max(XY[0])
8063-
G2plt.PlotXY(G2frame,[[XY[1],XY[0]],],XY2=[[[0.,FoMax],[0.,FoMax]],],labelX='|Fc|',labelY='|Fo|',newPlot=False,
8064-
Title='|Fo| vs |Fc| for %s'%Name,lines=False,names=['|Fo| vs |Fc|',],names2=['Fo=Fc',])
8062+
FcMax = np.max(XY[1])
8063+
# G2plt.PlotXY(G2frame,[[XY[1],XY[0]],],XY2=[[[0.,FcMax],[0.,FcMax]],],labelX='|Fc|',labelY='|Fo|',newPlot=False,
8064+
# Title='|Fo| vs |Fc| for %s'%Name,lines=False)
8065+
G2plt.PlotXY(G2frame,[[XY[1],XY[0]-XY[1]],],XY2=[[[0.,FcMax],[0.,0.]],],labelX='|Fc|',labelY='|Fo|-|Fc|',newPlot=False,
8066+
Title='|Fo|-|Fc| vs |Fc| for %s'%Name,lines=False)
80658067

80668068
def OnMergeHKL(event):
80678069
'''Merge HKLF data sets to unique set according to Laue symmetry'''

GSASII/GSASIIplot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,6 +2496,7 @@ def Draw():
24962496
Plot.set_title(Title)
24972497
Plot.set_xlabel(r''+labelX,fontsize=16)
24982498
Plot.set_ylabel(r''+labelY,fontsize=16)
2499+
Plot.tick_params(labelsize=14)
24992500
colors = ['xkcd:blue','xkcd:red','xkcd:green','xkcd:cyan','xkcd:magenta','xkcd:black',
25002501
'xkcd:pink','xkcd:brown','xkcd:teal','xkcd:orange','xkcd:grey','xkcd:violet',]
25012502
NC = len(colors)

0 commit comments

Comments
 (0)