Changeset 1ed6be7 in sasview for src/sas/sasgui/plottools


Ignore:
Timestamp:
Aug 11, 2016 7:10:43 AM (8 years ago)
Author:
lewis
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:
695ec0b
Parents:
5129686
Message:

Fix units on Kratky plot

File:
1 edited

Legend:

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

    r5129686 r1ed6be7  
    17981798            if self.yLabel == "y*x^(2)": 
    17991799                item.transformY(transform.toYX2, transform.errToYX2) 
    1800                 xunits = convert_unit(4, self.xaxis_unit) 
     1800                xunits = convert_unit(2, self.xaxis_unit) 
    18011801                self.graph._yaxis_transformed("%s \ \ %s^{2}" % (yname, xname), 
    18021802                                              "%s%s" % (yunits, xunits)) 
Note: See TracChangeset for help on using the changeset viewer.