Changeset 1646 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Feb 11, 2015 1:33:27 PM (8 years ago)
Author:
vondreele
Message:

allow search for negative density peaks in charge flip and Fourier maps
plot negative density in neutron maps & negative peaks in red

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r1645 r1646  
    41214121   
    41224122    def OnKeyBox(event):
    4123 #        Draw()                          #make sure plot is fresh!!
    41244123        mode = cb.GetValue()
    41254124        if mode in ['jpeg','bmp','tiff',]:
     
    41524151
    41534152    def OnKey(event):           #on key UP!!
    4154 #        Draw()                          #make sure plot is fresh!!
    41554153        try:
    41564154            keyCode = event.GetKeyCode()
     
    49554953                    RenderMapPeak(x,y,z,Gr,1.0)
    49564954                else:
    4957                     RenderMapPeak(x,y,z,Wt,mag/peakMax)
     4955                    if mag > 0.:
     4956                        RenderMapPeak(x,y,z,Wt,mag/peakMax)
     4957                    else:
     4958                        RenderMapPeak(x,y,z,Rd,-mag/peakMax)
    49584959                if showBonds:
    49594960                    RenderLines(x,y,z,mapBonds[ind],Wt)
Note: See TracChangeset for help on using the changeset viewer.