Changeset 8817d07 in sasview for src/sans/plottools/PlotPanel.py


Ignore:
Timestamp:
Apr 1, 2014 12:40:50 PM (10 years ago)
Author:
ajj
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:
eddb6ec
Parents:
3ee654e
Message:

Adding Kratky plot (Ticket #205)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/plottools/PlotPanel.py

    rb9f6d83 r8817d07  
    18971897                self.graph._yaxis_transformed("%s \ \ %s^{4}" % (yname, xname), 
    18981898                                               "%s%s" % (yunits, xunits)) 
     1899            if(self.viewModel == "Kratky y*x^(2) vs x"): 
     1900                item.transformY(transform.toYX2, transform.errToYX2) 
     1901                self.graph._yaxis_transformed("%s \ \ %s^{2}" % (yname, xname), 
     1902                                               "%s%s" % (yunits, xunits))                 
     1903                 
    18991904            item.transformView() 
    19001905   
Note: See TracChangeset for help on using the changeset viewer.