plot sin 04 坐标轴居中 code #!/usr/bin/env python # -*- coding: utf-8 -*- import numpy as np import matplotlib import matplotlib.pyplot as plt # Data to be represented X = np.linspace(-np.pi,+np.pi,256) Y = np.sin(X) # Actual plotting fig = plt.figure(fig