Ignore:
Timestamp:
Sep 15, 2016 8:33:57 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
d9afe942
Parents:
aa6028c
git-author:
Lewis O'Driscoll <lewis.o'driscoll@…> (08/10/16 11:39:28)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/15/16 08:33:57)
Message:

Add Kratky option to plot scale. Closes #205

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/plottools/PropertyDialog.py

    re3ae090 ref6d1d8  
    6464        self.yvalue.Insert("ln(y)", 2) 
    6565        self.yvalue.Insert("y^(2)", 3) 
    66         self.yvalue.Insert("y*x^(4)", 4) 
    67         self.yvalue.Insert("1/sqrt(y)", 5) 
    68         self.yvalue.Insert("log10(y)", 6) 
    69         self.yvalue.Insert("ln(y*x)", 7) 
    70         self.yvalue.Insert("ln(y*x^(2))", 8) 
    71         self.yvalue.Insert("ln(y*x^(4))", 9) 
    72         self.yvalue.Insert("log10(y*x^(4))", 10) 
     66        self.yvalue.Insert("y*x^(2)", 4) 
     67        self.yvalue.Insert("y*x^(4)", 5) 
     68        self.yvalue.Insert("1/sqrt(y)", 6) 
     69        self.yvalue.Insert("log10(y)", 7) 
     70        self.yvalue.Insert("ln(y*x)", 8) 
     71        self.yvalue.Insert("ln(y*x^(2))", 9) 
     72        self.yvalue.Insert("ln(y*x^(4))", 10) 
     73        self.yvalue.Insert("log10(y*x^(4))", 11) 
    7374        # type of view or model used 
    7475        self.view.SetValue("--") 
     
    7879        self.view.Insert("XS Guinier ln(y*x) vs x^(2)", 3) 
    7980        self.view.Insert("Porod y*x^(4) vs x^(4)", 4) 
    80         # This did not work in 3.1.2 and does not work now. 
    81         # prefer to fix (should not be too hard) but for the moment 
    82         # am removing as an option the user sees so they don't get 
    83         # disappointed.    PDB 7/10/2016  
    84         # self.view.Insert("Kratky y*x^(2) vs x", 5) 
     81        self.view.Insert("Kratky y*x^(2) vs x", 5) 
    8582        self.SetSizer(vbox) 
    8683        self.Fit() 
Note: See TracChangeset for help on using the changeset viewer.