To the other plotting geniuses out there. I cannot find a decent document that can explain in simple way how to plot a multidimensional array in python.
The array is: (200,252): total.reshape(self.sims, self.steps)
Hence this is dynamic as well. Sims is simulations and steps are days 252.
The data is posted here: ExcelResult&Graph
Just like in the attached excel, I want to create the same graph in python.
Since each line in one simulation, it would simply be
for line in my_array:
plt.plot(line)
plt.show()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.