/[pdpsoft]/nl.nikhef.ndpf.groupviews/trunk/ndpf-gv-mkplots
ViewVC logotype

Diff of /nl.nikhef.ndpf.groupviews/trunk/ndpf-gv-mkplots

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2379 by templon, Sun Jul 24 15:35:46 2011 UTC revision 2380 by templon, Sun Jul 24 17:41:06 2011 UTC
# Line 69  topgroups_day=day_groups_sorted[-NUMGROU Line 69  topgroups_day=day_groups_sorted[-NUMGROU
69    
70  ### block generating plots ###  ### block generating plots ###
71    
72  commonargs = ['--imgformat', 'PNG' ]  commonargs = ['--imgformat', 'PNG',
73  sizeargs = { 'small' : [ '--width', '285', '--height', '125' ],                '--legend-position=east', '--legend-direction=bottomup']
74                   'large' : [ '--width', '950', '--height', '500' ]  sizeargs = { 'small' : [ '--width', '200', '--height', '125' ],
75                     'large' : [ '--width', '900', '--height', '500' ]
76                   }                   }
77  def doplot(grouplist, dbtype, psize, timetag):  def doplot(grouplist, dbtype, psize, timetag):
78            
# Line 87  def doplot(grouplist, dbtype, psize, tim Line 88  def doplot(grouplist, dbtype, psize, tim
88      for idx in range(len(grouplist)):      for idx in range(len(grouplist)):
89          group = grouplist[idx]          group = grouplist[idx]
90          pdefstr = 'AREA' ':' + group + colors[idx] + ':' + group          pdefstr = 'AREA' ':' + group + colors[idx] + ':' + group
91          if idx < 5 and psize == 'small':          pdefstr = pdefstr + '\\n'
             pdefstr = pdefstr + '\g'  
92          if idx > 0:          if idx > 0:
93              pdefstr = pdefstr + ':STACK'              pdefstr = pdefstr + ':STACK'
94          plot_defs.append(pdefstr)          plot_defs.append(pdefstr)
# Line 114  def doplot_wait(grouplist, dbtype, psize Line 114  def doplot_wait(grouplist, dbtype, psize
114      for idx in range(len(grouplist)):      for idx in range(len(grouplist)):
115          group = grouplist[idx]          group = grouplist[idx]
116          pdefstr = 'LINE3' ':' + group + colors[idx] + ':' + group          pdefstr = 'LINE3' ':' + group + colors[idx] + ':' + group
117          if idx < 5 and psize == 'small':          pdefstr = pdefstr + '\\n'
             pdefstr = pdefstr + '\g'  
118          plot_defs.append(pdefstr)          plot_defs.append(pdefstr)
119    
120      plot_defs.append('LINE2:rollover#000000:rollover')      plot_defs.append('LINE2:rollover#000000:rollover')

Legend:
Removed from v.2379  
changed lines
  Added in v.2380

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28