import math
import os

#-----------------------------------------------------------------------
plot  = []
show_plot = True
xlogscale = True
## xy plot 
plot.append(dict(kind = 'perf_internode',
                 data=['timing.res'],
                 row=[1,-1],col=[3,4,6],
                 proc_per_node=16,
                 label = 'perf_map_inter', startplot=True,
                 xlabel = 'log NElems/nodes', ylabel = 'MLUPS/nodes', 
                 format = 'png', figname = 'superMUCinternode', dpi=100, 
                 title = 'internode superMUC', titlesize = 12,endplot=True  ))

plot.append(dict(kind = 'perf_intranode',
                 data=['timing.res'],
                 row=[1,-1],col=[3,4,6],
                 proc_per_node=16,
                 label = 'perf_map_intra', startplot=True,
                 xlabel = 'log NElems/procs', ylabel = 'MLUPS/procs', 
                 format = 'png', figname = 'superMUCintranode', dpi=100, 
                 title = 'intranode superMUC', titlesize = 12,endplot=True  ))
