Changeset 3325 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Mar 29, 2018 9:53:57 AM (5 years ago)
Author:
vondreele
Message:

add importer for Bruker image FORMAT 100 files
fix AAprobability plots - proper response from cursor position
reformat residue rigid body display to show list of names & picked item rather than show all at once - faster display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3324 r3325  
    40564056    def OnMotion(event):
    40574057        xpos,ypos = event.xdata,event.ydata
    4058         if xpos:
    4059             xylim = Page.xylim                                        #avoid out of frame mouse position
    4060             xpos = xpos*(xylim[0][1]-xylim[0][0])+xylim[0][0]
    4061             xpos = int(xpos+.5)
     4058        if xpos > 1.:
    40624059            if 0 <= xpos < len(resNames):
    4063                 resName = resNames[xpos]
     4060                resName = resNames[int(xpos+.5)-1]
    40644061            else:
    40654062                resName = ''
    4066             if 0.55 <= ypos <= 1.00:
    4067                 ypos = (ypos-.55)/0.45*xylim[1][1]
    4068             elif 0. <= ypos <= 0.45:
    4069                 ypos = ypos/0.45*xylim[2][1]
    4070             else:
    4071                 ypos = 0.0
    40724063            Page.canvas.SetCursor(wx.CROSS_CURSOR)
    40734064            try:
Note: See TracChangeset for help on using the changeset viewer.