Changeset 1780 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Apr 7, 2015 5:14:33 PM (7 years ago)
Author:
vondreele
Message:

force collapse of all children when main tree item is collapsed
begin texture fitting from seq. refinements
fix bugs in plotting if all SH coeff = 0
set background on Fcsq when delt = 3sig & 10 sig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r1779 r1780  
    27272727    phi,beta = G2lat.CrsAng(PH,cell,SGData)
    27282728    ODFln = G2lat.Flnh(Start,SHCoef,phi,beta,SGData)
     2729    if not np.any(ODFln):
     2730        return
    27292731    PX = np.array(SHData['PFxyz'])
    27302732    gam = atan2d(PX[0],PX[1])
     
    27542756            Z = G2lat.invpolfcal(IODFln,SGData,R,P)
    27552757            Z = np.reshape(Z,(npts,npts))
    2756             CS = Plot.contour(Y,X,Z,aspect='equal')
    2757             Plot.clabel(CS,fontsize=9,inline=1)
    27582758            try:
    2759                 Img = Plot.imshow(Z.T,aspect='equal',cmap=G2frame.ContourColor,extent=[-1,1,-1,1])
     2759                CS = Plot.contour(Y,X,Z,aspect='equal')
     2760                Plot.clabel(CS,fontsize=9,inline=1)
    27602761            except ValueError:
    27612762                pass
     2763            Img = Plot.imshow(Z.T,aspect='equal',cmap=G2frame.ContourColor,extent=[-1,1,-1,1])
    27622764            Page.figure.colorbar(Img)
    27632765            Plot.set_title('Inverse pole figure for XYZ='+str(SHData['PFxyz']))
Note: See TracChangeset for help on using the changeset viewer.