Changeset 4268 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jan 28, 2020 3:04:53 PM (22 months ago)
Author:
vondreele
Message:

fixes to RMCProfile - GSAS-II stuff.
works with x-ray F(Q), etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4265 r4268  
    51125112################################################################################
    51135113       
    5114 def Plot3dXYZ(G2frame,nX,nY,Zdat,labelX='X',labelY='Y',labelZ='Z',newPlot=False,Title=''):
     5114def Plot3dXYZ(G2frame,nX,nY,Zdat,labelX='X',labelY='Y',labelZ='Z',newPlot=False,Title='',Centro=False):
    51155115   
    51165116    def OnMotion(event):
     
    51335133    G2frame.G2plotNB.status.SetStatusText('',1)
    51345134    Zmul = Zdat.reshape((nX,-1)).T
     5135    if Centro:
     5136        Zmul = Zmul+np.fliplr(np.roll(Zmul,nY//2,0))
    51355137    PHI = np.linspace(0.,360.,int(nY),True)
    51365138    PSI = np.linspace(0.,180.,int(nX),True)
     
    51585160        Plot.set_ylabel(labelY)
    51595161        Plot.set_zlabel(labelZ)
    5160     Page.canvas.draw()
     5162        Page.canvas.draw()
    51615163       
    51625164################################################################################
Note: See TracChangeset for help on using the changeset viewer.