Changeset 5a525e1 in sasview for src/sas/sasgui/perspectives/corfunc


Ignore:
Timestamp:
Aug 23, 2016 11:06:04 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
96d293da
Parents:
acefa2b
Message:

Plot I_obs and I_extrap on a log(Q)/I scale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/corfunc/corfunc.py

    r204f628 r5a525e1  
    165165            new_plot.yaxis("\\rm{Intensity} ", "cm^{-1}") 
    166166            new_plot.y -= self.corfunc_panel.background 
     167            # Show data on a log(Q)/I scale 
     168            new_plot.ytransform = 'y' 
    167169            group_id = GROUP_ID_IQ_DATA 
    168170            if label == IQ_EXTRAPOLATED_DATA_LABEL: 
     
    172174            new_plot.xaxis("{x}", 'A') 
    173175            new_plot.yaxis("{\\Gamma}", '') 
     176            # Show transform on a linear scale 
     177            new_plot.xtransform = 'x' 
     178            new_plot.ytransform = 'y' 
    174179            group_id = GROUP_ID_TRANSFORM 
    175180            # Show the transformation as a curve instead of points 
     
    180185        new_plot.interactive = True 
    181186        new_plot.title = group_id.replace('$', '').replace('\\', '') 
    182         # Show data on a linear scale 
    183         new_plot.xtransform = 'x' 
    184         new_plot.ytransform = 'y' 
    185187        wx.PostEvent(self.parent, 
    186188                     NewPlotEvent(plot=new_plot, title=new_plot.title, 
Note: See TracChangeset for help on using the changeset viewer.