Changeset 54a1cf8 in sasview for src/sas/sasgui


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:
45cab3c
Parents:
a6026f52
git-author:
Lewis O'Driscoll <lewis.o'driscoll@…> (08/11/16 07:10:43)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/15/16 08:33:57)
Message:

Fix units on Kratky plot

File:
1 edited

Legend:

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

    ra6026f52 r54a1cf8  
    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.