Changeset 7cde638 in sasview


Ignore:
Timestamp:
Jul 17, 2017 9:57:08 AM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
626f833
Parents:
22194b1
git-author:
Lewis O'Driscoll <lewis.o'driscoll@…> (07/17/17 09:55:13)
git-committer:
Lewis O'Driscoll <lewis.o'driscoll@…> (07/17/17 09:57:08)
Message:

Tidy up plotting of gamma3

File:
1 edited

Legend:

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

    r22194b1 r7cde638  
    281281        plot_y = transform1.y[np.where(transform1.x <= 200)] 
    282282        self._manager.show_data(Data1D(plot_x, plot_y), TRANSFORM_LABEL1) 
    283         plot_x = transform3.x 
    284         plot_y = transform3.y 
    285         self._manager.show_data(Data1D(plot_x, plot_y), TRANSFORM_LABEL3) 
     283        # No need to shorten gamma3 as it's only calculated up to x=200 
     284        self._manager.show_data(transform3, TRANSFORM_LABEL3) 
    286285        # Only enable extract params button if a fourier trans. has been done 
    287286        if self.transform_type == 'fourier': 
Note: See TracChangeset for help on using the changeset viewer.