### Visvis ### Matplotlib python import numpy as np import visvis as vv x = np.linspace(0, 10, 100) y = np.sin(x) fig = vv.figure() ax = vv.plot(x, y) ax.title = 'Sine Wave' ax.xlabel = 'X-axis' ax.ylabel = 'Y-axis' vv.processEvents() python import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 10, 100) y = np.sin(x) plt.plot(x, y) plt.title('Sine Wave') plt.xlabel('X-axis') plt.ylabel('Y-axis') plt.show()


上一篇:
下一篇:
切换中文