#!/usr/bin/python2.6
-# -*- coding: iso-8859-15 -*-
"""Library to handle WRGPX files.
A WRGPX file (WR stands for Winterrodeln) is a normal GPX file
that follows several conventions so that it can be rendered to
plt.axis([axxmin, axxmax, axymin, axymax])
plt.grid()
plt.xlabel('Strecke in m [%d m Gesamtstrecke]' % round(x[-1], -1))
- plt.ylabel('Höhe in m [%d m Differenz]' % round(h[0]-h[-1]))
- plt.title('%s - Höhenprofil' % wrgpx.metadata.name)
+ plt.ylabel('Höhe in m [%d m Differenz]' % round(h[0]-h[-1]))
+ plt.title('%s - Höhenprofil' % wrgpx.metadata.name)
width_px = 500
imgdata = io.StringIO()