Changeset 75a6cf0 in sasview


Ignore:
Timestamp:
Jun 20, 2012 7:13:41 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
9bab141
Parents:
23b44dd
Message:

Added cs guinier and linear quick scaling

Location:
plottools/src/danse/common/plottools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plottools/src/danse/common/plottools/PlotPanel.py

    ra48842a2 r75a6cf0  
    719719                if dial.ShowModal() == wx.ID_OK: 
    720720                    self.xLabel, self.yLabel, self.viewModel = dial.getValues() 
     721                    if self.viewModel == "Linear y vs x": 
     722                        self.xLabel = "x" 
     723                        self.yLabel = "y" 
     724                        self.viewModel = "--" 
     725                        dial.setValues(self.xLabel, self.yLabel, self.viewModel) 
    721726                    if self.viewModel == "Guinier lny vs x^(2)": 
    722727                        self.xLabel = "x^(2)" 
    723728                        self.yLabel = "ln(y)" 
     729                        self.viewModel = "--" 
     730                        dial.setValues(self.xLabel, self.yLabel, self.viewModel) 
     731                    if self.viewModel == "CS Guinier ln(y*x) vs x^(2)": 
     732                        self.xLabel = "x^(2)" 
     733                        self.yLabel = "ln(y*x)" 
    724734                        self.viewModel = "--" 
    725735                        dial.setValues(self.xLabel, self.yLabel, self.viewModel) 
  • plottools/src/danse/common/plottools/PropertyDialog.py

    r10bfeb3 r75a6cf0  
    7777        self.view.SetValue("--") 
    7878        self.view.Insert("--", 0) 
    79         self.view.Insert("Guinier lny vs x^(2)", 1) 
    80         self.view.Insert("Porod y*x^(4) vs x^(4)", 2) 
     79        self.view.Insert("Linear y vs x", 1) 
     80        self.view.Insert("Guinier lny vs x^(2)", 2) 
     81        self.view.Insert("CS Guinier ln(y*x) vs x^(2)", 3) 
     82        self.view.Insert("Porod y*x^(4) vs x^(4)", 4) 
    8183        self.SetSizer(vbox) 
    8284        self.Fit() 
Note: See TracChangeset for help on using the changeset viewer.