[python]Chart
To plot chart we firstly should
import numpy as np
import matplotlib.pyplot as plt
then we can use
plt.plot(x)
plt.show()
plt.savefig("figname.format", dpi=xxx)
to plot, show and save the chart.
To plot chart we firstly should
import numpy as np
import matplotlib.pyplot as plt
then we can use
plt.plot(x)
plt.show()
plt.savefig("figname.format", dpi=xxx)
to plot, show and save the chart.