Changeset 2177 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Mar 17, 2016 3:00:50 PM (6 years ago)
Author:
vondreele
Message:

add ranges to Sadp plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2175 r2177  
    504504        self.planeChoice = ['h0l','0kl','hhl','h-hl',]
    505505        self.lmax = '2'
    506         self.lmaxChoice = ['1','2','3','4','5',]
     506        self.lmaxChoice = [str(i+1) for i in range(6)]
    507507        self.mult = '2'
    508         self.multChoice = ['1','2','3','4','5','6','7','8','9',]
     508        self.multChoice = [str(i+1) for i in range(15)]
    509509        self.Draw()
    510510       
     
    578578            return '0\n0\n4\n1\n%d\n%d\n16\n1\n%d\n0\nend\n'%    \
    579579                (self.planeChoice.index(self.plane)+1,self.lmaxChoice.index(self.lmax)+1,
    580                 self.multChoice.index(self.mult)+1),self.plane
     580                self.multChoice.index(self.mult)+1),self.plane,self.lmax
    581581
    582582    def OnOk(self,event):
Note: See TracChangeset for help on using the changeset viewer.