Ignore:
Timestamp:
Jul 4, 2016 11:35:57 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:
cf31fd9
Parents:
689e5ff
Message:

Allow inputting of qmin and qmax, and plot them on the graph as vertical lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter1D.py

    rd85c194 ree73af7  
    222222            values = [max(x_data.min(), float(ctrl[0].GetValue())), 
    223223                      min(x_data.max(), float(ctrl[1].GetValue()))] 
     224            if len(ctrl) == 3: 
     225                colors.append('purple') 
     226                values.append(min(x_data.max(), float(ctrl[2].GetValue()))) 
    224227            if self.ly == None: 
    225228                self.ly = [] 
Note: See TracChangeset for help on using the changeset viewer.