I tried to convert the Polulu Motor Plot Generator from Matlab to Matplotlib in Python. The first figure seems to be right. The second and the third not. Maybe here are peop