Changeset 922 for sans/utils/bt5/bt5plot


Ignore:
Timestamp:
Sep 17, 2013 8:40:51 AM (10 years ago)
Author:
mjw
Message:

Fixed colors and marker shapes for split detectors for easier viewing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/utils/bt5/bt5plot/BT5DataSet.py

    r657 r922  
    277277            axes.set_ylabel("Counts")     
    278278            if yerrorbars == True: 
    279                 self.plot = (axes.errorbar(xdata,ydata1,yerror1,None, 'o'), 
    280                              axes.errorbar(xdata,ydata2,yerror2,None, 'o'), 
    281                              axes.errorbar(xdata,ydata3,yerror3,None, 'o'), 
    282                              axes.errorbar(xdata,ydata4,yerror4,None, 'o'), 
    283                              axes.errorbar(xdata,ydata5,yerror5,None, 'o'))  
    284             else: 
    285                 self.plot = (axes.errorbar(xdata,ydata1,None,None, 'o'), 
    286                              axes.errorbar(xdata,ydata2,None,None, 'o'), 
    287                              axes.errorbar(xdata,ydata3,None,None, 'o'), 
    288                              axes.errorbar(xdata,ydata4,None,None, 'o'), 
    289                              axes.errorbar(xdata,ydata5,None,None, 'o'))  
     279                self.plot = (axes.errorbar(xdata,ydata1,yerror1,None, 'o', label='2', c='b'), 
     280                             axes.errorbar(xdata,ydata2,yerror2,None, '<', label='1', c='r'), 
     281                             axes.errorbar(xdata,ydata3,yerror3,None, '>', label='3', c='g'), 
     282                             axes.errorbar(xdata,ydata4,yerror4,None, '^', label='4', c='c'), 
     283                             axes.errorbar(xdata,ydata5,yerror5,None, 'v', label='5', c='m'))             
     284            else: 
     285                self.plot = (axes.errorbar(xdata,ydata1,None,None, 'o', label='2', c='b'), 
     286                             axes.errorbar(xdata,ydata2,None,None, '<', label='1', c='r'), 
     287                             axes.errorbar(xdata,ydata3,None,None, '>', label='3', c='g'), 
     288                             axes.errorbar(xdata,ydata4,None,None, '^', label='4', c='c'), 
     289                             axes.errorbar(xdata,ydata5,None,None, 'v', label='5', c='m')) 
    290290             
    291291        elif plottype == 'nrate': 
Note: See TracChangeset for help on using the changeset viewer.