Changeset 2199 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Apr 7, 2016 9:44:51 AM (7 years ago)
Author:
vondreele
Message:

force status field widths for pole & inverse pole figures
use RaisePageNoRefresh? for more plots so they show up properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2198 r2199  
    21312131            if ref[6+im] > 0.:
    21322132                DS.append((ref[5+im]-ref[7+im])/ref[6+im])
    2133 #    G2frame.G2plotNB.RaisePageNoRefresh(Page)
     2133    G2frame.G2plotNB.RaisePageNoRefresh(Page)
    21342134    G2frame.G2plotNB.status.DestroyChildren()
    21352135    DS.sort()
     
    31913191                    G2frame.G2plotNB.status.SetFields(['',
    31923192                        'psi =%9.3f, beta =%9.3f, MRD =%9.3f hkl=%5.2f,%5.2f,%5.2f'%(r,p,ipf,x,y,z)])
    3193                                    
     3193                    G2frame.G2plotNB.status.SetStatusWidths([150,-1])
     3194               
    31943195            elif 'Axial' in SHData['PlotType']:
    31953196                pass
     
    32053206                    pf = G2lat.polfcal(ODFln,SamSym[textureData['Model']],np.array([r,]),np.array([p,]))
    32063207                    G2frame.G2plotNB.status.SetFields(['','phi =%9.3f, gam =%9.3f, MRD =%9.3f'%(r,p,pf)])
    3207    
     3208                    G2frame.G2plotNB.status.SetStatusWidths([150,-1])
     3209
    32083210    try:
    32093211        plotNum = G2frame.G2plotNB.plotList.index('Texture')
     
    32243226
    32253227    Page.Choice = None
    3226 #    G2frame.G2plotNB.RaisePageNoRefresh(Page)
     3228    G2frame.G2plotNB.RaisePageNoRefresh(Page)
    32273229    G2frame.G2plotNB.status.SetFields(['',''])   
    32283230    PH = np.array(SHData['PFhkl'])
Note: See TracChangeset for help on using the changeset viewer.