First page Back Continue Last page Overview Graphics

Customizing Ticks

We want to depict only the values for +/-2π, +/-2π, +/-π, +/-π

We add the following code into our previous program:

xticks( [-np.pi, -np.pi/2, 0, np.pi/2, np.pi])

yticks([-1, 0, +1])