changed axis to double and added magic numbers to the win32 window