# -*- coding: utf-8 -*- #Copyright (c) 2010, Walter Bender # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. from constants import * import math # header print "" print "" print "" print " " print " " print " " print " L" ln10 = math.log(10) for i in range(0,101): ln = str(float(int( ((i/100.)*SCALE*ln10 + OFFSET)*10 )/10.)) if int((i/10)*10) == i: h1 = "0"; h2 = "19"; h3 = "32" print " " print " " + str(float(int(i)*100/SCALE)) + "" elif int((i/5)*5) == i: h1 = "0"; h2 = "17"; else: h1 = "0"; h2 = "15"; print " " # footer print " " print ""