@@ -0,0 +1,2057 @@
+#!/usr/bin/env python3%0A%0A# Copyright (c) 2015, Bartlomiej Puget %3Clarhard@gmail.com%3E%0A# All rights reserved.%0A#%0A# Redistribution and use in source and binary forms, with or without%0A# modification, are permitted provided that the following conditions are met:%0A#%0A#   * Redistributions of source code must retain the above copyright notice,%0A#     this list of conditions and the following disclaimer.%0A#%0A#   * Redistributions in binary form must reproduce the above copyright notice,%0A#     this list of conditions and the following disclaimer in the documentation%0A#     and/or other materials provided with the distribution.%0A#%0A#   * Neither the name of the Bartlomiej Puget nor the names of its%0A#     contributors may be used to endorse or promote products derived from this%0A#     software without specific prior written permission.%0A#%0A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS %22AS IS%22%0A# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE%0A# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE%0A# DISCLAIMED. IN NO EVENT SHALL BARTLOMIEJ PUGET BE LIABLE FOR ANY DIRECT,%0A# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,%0A# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,%0A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY%0A# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING%0A# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,%0A# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.%0A%0Aimport argparse%0A%0Afrom matplotlib import pyplot%0A%0A%0Adef main():%0A    nvertices = int(input())%0A    vertices = %5Btuple(map(lambda k: float(k), input().split()))%0A        for _ in range(nvertices)%5D%0A%0A    figure = pyplot.figure()%0A    ax = figure.add_subplot(111)%0A%0A    xs, ys = zip(*vertices)%0A    ax.plot(xs, ys, '-')%0A    ax.plot(xs, ys, 'ro')%0A    pyplot.show()%0A%0A%0Aif __name__ == '__main__':%0A    parser = argparse.ArgumentParser()%0A    args = parser.parse_args()%0A%0A    main(**vars(args))%0A

add plotter