How do I go about transforming my x-coordinates for plotting a semi-log graph? I am using python opengl and my x and y range from -1 to 1. Simply doing x=log(x)/log(10) doesn't work since x values can be negative or 0 which is undefined for log. How can I go about this transform?