@@ -6651,7 +6651,7 @@ def _makemenu(): # routine to create menu when first used
66516651 self .ErrorAnal .Append (G2G .wxID_PWDANALYSIS ,'Error Analysis' ,'Error analysis on single crystal data' )
66526652 self .ErrorAnal .Append (G2G .wxID_MERGEHKL ,'Merge HKLs' ,'Transform & merge HKLF data to new histogram' )
66536653 self .ErrorAnal .Append (G2G .wxID_1DHKLSTICKPLOT ,'Plot 1D HKLs' ,'Plot of HKLs from single crystal data in 1D' )
6654- self .ErrorAnal .Append (G2G .wxID_FOVSFCPLOT ,'Plot Fo vs Fc' ,'Plot Fo vs Fc from single crystal data' )
6654+ self .ErrorAnal .Append (G2G .wxID_FOVSFCPLOT ,'Plot Fo-Fc vs Fc' ,'Plot Fo-Fc vs Fc from single crystal data' )
66556655 self .ErrorAnal .Append (G2G .wxID_3DALLHKLPLOT ,'Plot all 3D HKLs' ,'Plot HKLs from all single crystal data in 3D' )
66566656 self .ErrorAnal .Append (G2G .wxID_FIXFSQSQDATA ,'Fix (F^2)^2 data' ,'Fix F^2 data imported as F' )
66576657 # self.ErrorAnal.Append(G2G.wxID_PWDCOPY,'Copy params','Copy of HKLF parameters') #unused
@@ -8055,15 +8055,11 @@ def OnPlotAll3DHKL(event):
80558055 G2plt .Plot3DSngl (G2frame ,newPlot = True ,Data = controls ,hklRef = refList ,Title = phaseName )
80568056
80578057 def OnPlotFoVsFc (event ):
8058- ''' Plots Fo vs Fc for single crystal data '''
8058+ ''' Plots Fo-Fc vs Fc for single crystal data '''
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- # Ext = refList.T[11+Super]
8063- # XY[1] /= Ext
80648062 FcMax = np .max (XY [1 ])
8065- # G2plt.PlotXY(G2frame,[[XY[1],XY[0]],],XY2=[[[0.,FcMax],[0.,FcMax]],],labelX='|Fc|',labelY='|Fo|',newPlot=False,
8066- # Title='|Fo| vs |Fc| for %s'%Name,lines=False)
80678063 G2plt .PlotXY (G2frame ,[[XY [1 ],XY [0 ]- XY [1 ]],],XY2 = [[[0. ,FcMax ],[0. ,0. ]],],labelX = '|Fc|' ,labelY = '|Fo|-|Fc|' ,newPlot = False ,
80688064 Title = '|Fo|-|Fc| vs |Fc| for %s' % Name ,lines = False )
80698065
0 commit comments