def setup_fig01(): fig, ax, renderer = create_newfig('{}01'.format(func_code)) create_moving_line(fig, ax, renderer, (5, 4), (6, 3), (-2, -2), 'topright') create_still_segment(fig, ax, renderer, (3.5, 1.5), (3.5, 0), 'botleft', 'bot') return fig, ax, '{}01_{}'.format(func_code, func_name)
def setup_fig03(): fig, ax, renderer = create_newfig('{}03'.format(func_code), ylim=(-1, 7)) create_moving_polygon(fig, ax, renderer, ((2, 4), (3, 4), (3, 2), (1, 1)), (-1, 2), 'topright') create_still_polygon(fig, ax, renderer, ((0, 1), (2.5, 2), (3, 0), (2, 0)), 'botleft') return fig, ax, '{}03_{}'.format(func_code, func_name)
def setup_fig04(): fig, ax, renderer = create_newfig('{}04'.format(func_code), ylim=(-2, 5)) create_moving_polygon(fig, ax, renderer, ((4, 0), (5, 2), (3, 2)), (0, 3), 'topright') create_still_polygon(fig, ax, renderer, ((3, 0), (5, 1), (5, -1)), 'botleft') return fig, ax, '{}04_{}'.format(func_code, func_name)
def setup_fig04(): fig, ax, renderer = create_newfig('{}04'.format(func_code)) create_moving_polygon(fig, ax, renderer, ((5, 0, 'none'), (6, 1), (2, 1)), (0, 2), 'topright') create_still_polygon(fig, ax, renderer, ((3, 4, 'top'), (4, 4), (4, 3), (3, 3)), 'none') return fig, ax, '{}04_{}'.format(func_code, func_name)
def setup_fig03(): fig, ax, renderer = create_newfig('{}03'.format(func_code)) create_moving_polygon(fig, ax, renderer, ((6, 3), (6, 2), (5, 1), (4, 3)), (-3, 0), 'topright') create_still_polygon(fig, ax, renderer, ((0, 3, 'none'), (1, 3), (2, 1), (0, 1, 'none'))) return fig, ax, '{}03_{}'.format(func_code, func_name)
def setup_fig02(): fig, ax, renderer = create_newfig('{}02'.format(func_code)) create_moving_polygon(fig, ax, renderer, ((1, 3), (1, 4), (2, 4), (2, 3)), (5, -3), 'topright') create_still_polygon(fig, ax, renderer, ((0, 1), (2, 2), (3, 1), (2, 0)), 'botleft') return fig, ax, '{}02_{}'.format(func_code, func_name)
def setup_fig01(): fig, ax, renderer = create_newfig('{}01'.format(func_code), ylim=(-1, 7)) create_moving_polygon(fig, ax, renderer, ((0, 0), (0, 1), (1, 1), (1, 0)), (4, 3), 'none') create_still_polygon(fig, ax, renderer, ((3, 1, 'botright'), (4, 1), (4, 0), (3, 0)), 'none') return fig, ax, '{}01_{}'.format(func_code, func_name)
def setup_fig01(): fig, ax, renderer = create_newfig('{}01'.format(func_code)) create_moving_polygon(fig, ax, renderer, ((0, 2), (0, 3), (1, 3), (1, 2)), (4, 0), 'topright') create_still_polygon(fig, ax, renderer, ((2, 0), (3, 1), (4, 0)), 'botleft') return fig, ax, '{}01_{}'.format(func_code, func_name)
def setup_fig02(): fig, ax, renderer = create_newfig('{}02'.format(func_code)) create_moving_polygon(fig, ax, renderer, ((3, 1), (3, 3), (4, 3), (4, 1)), (2, -0.25), 'topright') create_still_polygon(fig, ax, renderer, ((3, 0), (3, 1), (4, 1), (4, 0)), 'botleft') return fig, ax, '{}02_{}'.format(func_code, func_name)
def setup_fig04(): fig, ax, renderer = create_newfig('{}04'.format(func_code)) create_moving_polygon(fig, ax, renderer, ((3, 1), (3, 2), (4, 1)), (2, 0), 'botleft') create_still_polygon(fig, ax, renderer, ((4, 4), (5, 3.5), (5.5, 2.5), (4, 3)), 'topright') return fig, ax, '{}04_{}'.format(func_code, func_name)
def setup_fig02(): fig, ax, renderer = create_newfig('{}02'.format(func_code)) create_moving_polygon(fig, ax, renderer, ((0, 1, 'right'), (1, 2, 'bot'), (2, 1, 'left'), (1, 0, 'top')), (1, 2)) create_still_polygon(fig, ax, renderer, ((3, 1), (3, 2), (4, 1)), 'botleft') return fig, ax, '{}02_{}'.format(func_code, func_name)
def setup_fig03(): fig, ax, renderer = create_newfig('{}03'.format(func_code), xlim=(-1, 16), ylim=(-1, 12)) create_moving_polygon(fig, ax, renderer, ((1, 2), (0, 3), (0, 5), (1, 6), (4, 4)), (7, 3)) create_still_polygon(fig, ax, renderer, ((14, 7.5), (13, 8.5), (15, 9.5), (15, 8.5))) return fig, ax, '{}03_{}'.format(func_code, func_name)
def setup_fig02(): fig, ax, renderer = create_newfig('{}02'.format(func_code), xlim=(-1, 8), ylim=(-1, 7)) create_moving_polygon(fig, ax, renderer, ((4, 4), (5, 6), (4, 3)), (2, -1.5), 'topright') create_still_polygon(fig, ax, renderer, ((1, 3), (2, 3.5), (7, 1), (6, 0)), 'top') return fig, ax, '{}02_{}'.format(func_code, func_name)
def setup_fig02(): fig, ax, renderer = create_newfig('{}02'.format(func_code), xlim=(-2, 21), ylim=(-7, 11)) create_moving_polygon(fig, ax, renderer, ((4.5, -0.5), (3.5, -2.5), (1.5, -3.5), (-0.5, 0.5), (-0.5, 1.5), (1.5, 2.5)), (13, 3)) create_still_polygon(fig, ax, renderer, ((8, 6), (10, 6), (10, 4), (8, 4))) return fig, ax, '{}02_{}'.format(func_code, func_name)
def setup_fig04(): fig, ax, renderer = create_newfig('{}04'.format(func_code), xlim=(-10, 8), ylim=(-12, 6)) create_moving_polygon(fig, ax, renderer, ((-5, 2.5), (-8, 0.5), (-9, 1.5), (-8, 4.5), (-6, 4.5)), (12, -10)) create_still_polygon(fig, ax, renderer, ((6, -1.5), (5, -3.5), (2, -2.5), (3, 0.5))) return fig, ax, '{}04_{}'.format(func_code, func_name)
def setup_fig02(): fig, ax, renderer = create_newfig('{}02'.format(func_code), xlim=(-8, 7), ylim=(-2, 12)) create_moving_polygon(fig, ax, renderer, ((5, 5), (4, 5), (2, 0), (4, -1), (6, 0)), (-5, 0)) create_still_polygon(fig, ax, renderer, ((2, 11), (-2, 8), (2, 5), (3, 6), (3, 11))) return fig, ax, '{}02_{}'.format(func_code, func_name)
def setup_fig02(): fig, ax, renderer = create_newfig('{}02'.format(func_code), xlim=(-2, 12), ylim=(-1, 10)) create_moving_polygon(fig, ax, renderer, ((11, 5), (8, 8), (7, 7), (6, 3), (9, 3)), (-1, -3)) create_still_polygon(fig, ax, renderer, ((3.5, 8.5), (1.5, 8.5), (-0.5, 7.5), (0.5, 3.5), (1.5, 2.5), (4.5, 2.5), (5.5, 6.5))) return fig, ax, '{}02_{}'.format(func_code, func_name)
def setup_fig01(): fig, ax, renderer = create_newfig('{}01'.format(func_code), xlim=(-12, 7), ylim=(-1, 6)) create_moving_polygon(fig, ax, renderer, ((-6.5, 3.5), (-7.5, 0.5), (-10.5, 1.5), (-8.5, 4.5)), (5, 0)) create_still_polygon(fig, ax, renderer, ((1, 2.5), (1, 0.5), (-1, 0.5), (-1, 1.5), (0, 2.5))) return fig, ax, '{}01_{}'.format(func_code, func_name)
def setup_fig03(): fig, ax, renderer = create_newfig('{}03'.format(func_code), xlim=(-1, 21), ylim=(-1, 15)) create_moving_polygon(fig, ax, renderer, ((18.5, 3), (17.5, 3), (17.5, 5), (19.5, 5)), (-3, 9)) create_still_polygon(fig, ax, renderer, ((18, 13), (20, 14), (18.5, 11))) create_still_polygon(fig, ax, renderer, ((5, 5), (6, 2), (3, 3), (2, 4))) return fig, ax, '{}03_{}'.format(func_code, func_name)
def setup_fig03(): fig, ax, renderer = create_newfig('{}03'.format(func_code), xlim=(-3, 12), ylim=(-5, 10)) create_moving_polygon(fig, ax, renderer, ((9.5, 8.5), (8.5, 7.5), (9.5, 5), (10.5, 7)), (-9, -9)) create_still_polygon(fig, ax, renderer, ((2, 5), (-1, 5), (-2, 3), (2, 1), (3, 2))) return fig, ax, '{}03_{}'.format(func_code, func_name)
def setup_fig04(): fig, ax, renderer = create_newfig('{}04'.format(func_code), xlim=(-3, 15), ylim=(-8, 5)) create_moving_polygon(fig, ax, renderer, ((2.5, -4), (1.5, -6), (0.5, -6), (-1.5, -4), (-0.5, -2), (2.5, -3)), (6, -1)) create_still_polygon(fig, ax, renderer, ((12, -7), (10, -5), (10, -4), (14, -4))) return fig, ax, '{}04_{}'.format(func_code, func_name)
def setup_fig02(): fig, ax, renderer = create_newfig('{}02'.format(func_code), xlim=(-2, 19), ylim=(-1, 11)) create_moving_polygon(fig, ax, renderer, ((1.5, 3.5), (0.5, 2.5), (-0.5, 2.5), (-0.5, 3.5), (0.5, 4.5)), (10, 4)) create_still_polygon(fig, ax, renderer, ((17.5, 6), (14.5, 6), (12.5, 8), (14.5, 10), (17.5, 9))) return fig, ax, '{}02_{}'.format(func_code, func_name)
def setup_fig01(): fig, ax, renderer = create_newfig('{}01'.format(func_code), xlim=(-1, 10), ylim=(-1, 7)) create_moving_polygon(fig, ax, renderer, ((2, 2), (2, 3, 'topleft'), (3, 3), (3, 2)), (5, 3), 'none') create_still_polygon(fig, ax, renderer, ((3, 5, 'topleft'), (4, 5), (4, 4), (3, 4)), 'none') return fig, ax, '{}01_{}'.format(func_code, func_name)
def setup_fig01(): fig, ax, renderer = create_newfig('{}01'.format(func_code), xlim=(-1, 16), ylim=(-1, 11)) create_moving_polygon(fig, ax, renderer, ((3, 10), (2, 10), (1, 8), (2, 6), (5, 6), (7, 8)), (8, 0)) create_still_polygon(fig, ax, renderer, ((10, 5), (8, 6), (6, 5), (6, 4), (7, 2), (10, 4))) return fig, ax, '{}01_{}'.format(func_code, func_name)
def setup_fig03(): fig, ax, renderer = create_newfig('{}03'.format(func_code), xlim=(-3, 25), ylim=(-1, 21)) create_moving_polygon(fig, ax, renderer, ((3, 17.5), (3, 16.5), (1, 15.5), (-1, 15.5), (-1, 18.5), (0, 19.5)), (18, -7)) create_still_polygon(fig, ax, renderer, ((14.5, 13), (14.5, 9), (12.5, 9), (11.5, 12), (12.5, 13))) return fig, ax, '{}03_{}'.format(func_code, func_name)
def setup_fig04(): fig, ax, renderer = create_newfig('{}04'.format(func_code), xlim=(-1, 14), ylim=(-3, 11)) create_moving_polygon(fig, ax, renderer, ((4.5, 4), (0.5, 2), (0.5, 1), (0.5, 0), (2.5, -2), (3.5, -2), (5.5, -1)), (6.7492919018596025, 4.29500393754702)) create_still_polygon(fig, ax, renderer, ((8, 8.5), (5, 9.5), (4, 8.5), (6, 5.5))) return fig, ax, '{}04_{}'.format(func_code, func_name)
def setup_fig01(): fig, ax, renderer = create_newfig('{}01'.format(func_code), xlim=(-10, 15), ylim=(-1, 18)) create_moving_polygon(fig, ax, renderer, ((-5, 9), (-8, 7), (-9, 7), (-8, 11), (-8, 11), (-5, 10)), (15, 2)) create_still_polygon(fig, ax, renderer, ((4, 15.5, 'right'), (5, 12.5, 'botleft'), (0, 11.5), (1, 16.5, 'top')), 'left') return fig, ax, '{}01_{}'.format(func_code, func_name)
def setup_fig03(): fig, ax, renderer = create_newfig('{}03'.format(func_code), xlim=(-3, 9), ylim=(-1, 15)) create_moving_polygon(fig, ax, renderer, ((0.5, 9.0), (-1.5, 8.0), (-1.5, 6.0), (1.5, 5.0), (2.5, 5.0), (2.5, 9.0)), (0, 5)) create_still_polygon(fig, ax, renderer, ((7.0, 6.0), (4.0, 5.0), (4.0, 3.0), (6.0, 2.0), (8.0, 3.0))) return fig, ax, '{}03_{}'.format(func_code, func_name)
def setup_fig04(): fig, ax, renderer = create_newfig('{}04'.format(func_code), xlim=(-2, 12), ylim=(-3, 10)) create_moving_polygon(fig, ax, renderer, ((5.5, 4.5), (3.5, -1.5), (9.5, -1.5), (10.5, 0.5)), (-4, 0)) create_still_polygon(fig, ax, renderer, ((7.5, 8.5), (6.5, 5.5), (7.5, 4.5), (9.5, 4.5), (10.5, 7.5))) return fig, ax, '{}04_{}'.format(func_code, func_name)
def setup_fig01(): fig, ax, renderer = create_newfig('{}01'.format(func_code), xlim=(-1, 12), ylim=(-1, 12)) create_moving_polygon(fig, ax, renderer, ((3, 3, 'botleft'), (4, 3), (4, 4), (3, 4)), (4, 4), 'none') create_still_polygon(fig, ax, renderer, ((6, 3, 'botleft'), (7, 3), (7, 4), (6, 4)), 'none') create_still_polygon(fig, ax, renderer, ((3, 6, 'botleft'), (3, 7), (4, 7), (4, 6)), 'none') create_still_polygon(fig, ax, renderer, ((4, 10), (6, 11), (6, 8), (2, 7))) return fig, ax, '{}01_{}'.format(func_code, func_name)