Changeset b03deea in sasview for guiframe


Ignore:
Timestamp:
Apr 2, 2009 1:24:54 PM (15 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:
dcf29d7
Parents:
0e2aa40
Message:

Made the letter of units in plots consistent for all

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/Plotter2D.py

    r7fff5cd rb03deea  
    155155        if len(self.data2D.detector) < 1:  
    156156            if len(event.plot._xunit)< 1 and len(event.plot._yunit) < 1: 
    157                 event.plot._xaxis = 'Pixel' 
    158                 event.plot._yaxis = 'Pixel' 
    159                 event.plot._xunit = 'Number' 
    160                 event.plot._yunit = 'Number' 
     157                event.plot._xaxis = '\\rm{x}' 
     158                event.plot._yaxis = '\\rm{y}' 
     159                event.plot._xunit = 'pixel' 
     160                event.plot._yunit = 'pixel' 
    161161 
    162162        self.graph.xaxis(event.plot._xaxis, event.plot._xunit) 
Note: See TracChangeset for help on using the changeset viewer.