From 201465a8ae7eebb5acb7a5b20c919099875f108c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20B=2E=20Brandenburg?= Date: Thu, 10 Jun 2010 17:35:26 -0400 Subject: add --slides support to RTSS'08 style --- plot.py | 45 +++++++++++++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 14 deletions(-) (limited to 'plot.py') diff --git a/plot.py b/plot.py index 5c470ee..f225372 100755 --- a/plot.py +++ b/plot.py @@ -350,26 +350,43 @@ class SchedPlotter(defapp.App): if not self.setup_png(p): # eps or pdf - p.rounded_caps = True - p.font = 'Helvetica' + if self.options.slides: + # for Jim's slides + if self.options.format == 'eps': + p.font_size = 'large' + p.dashed_lines = False + p.monochrome = False + p.rounded_caps = True + p.default_style = 'lines lw 10' + p.xticks = (0, 1) + p.yticks = (0, 0.1) + p.yrange = (-0.05, 1.05) + p.key = 'below' + p.xlabel = "task set utilization cap (prior to overhead accounting)" + else: + p.rounded_caps = True + p.font = 'Helvetica' - p.font_size = '10' - p.size = ('20cm', '10cm') - p.monochrome = False - p.dashed_lines = False - p.key = 'below' + p.font_size = '10' + p.size = ('20cm', '10cm') + p.monochrome = False + p.dashed_lines = True + p.key = 'below' - p.xticks = (0, 1) - p.yrange = (-0.05, 1.05) - p.yticks = (0, 0.1) - p.xlabel = "ucap (prior to inflation)" - p.default_style = 'linespoints lw 5' + p.xticks = (0, 1) + p.yrange = (-0.05, 1.05) + p.yticks = (0, 0.1) + p.xlabel = "ucap (prior to inflation)" + p.default_style = 'lines lw 6' p.ylabel = "schedulability " + (' [soft]' if 'soft' in conf else ' [hard]') - p.xrange = (0.5, 32.5) + if self.options.alternate: + p.xrange = (0.5, 32.5) + else: + p.xrange = (0.5, 32.5) p.title = scenario_heading(conf, True) - if not self.options.paper: + if not (self.options.paper or self.options.slides): p.title = "RTSS'08 " + p.title if self.options.save_script: -- cgit v1.2.2