我正在尝试通过保存更新日期来更新对象。它显示一个旧日期

时间:2019-05-22 10:37:01

标签: c#

enter image description here 我正在尝试更新我的对象。objct已成功更新,但是显示了旧的日期

我正在创建HttpPut函数

#Firsty_values and secondy_values looks like this: 
#['2019-05-04 00:00:03',
# '2019-05-04 00:02:03',
# ...
# '2019-05-04 23:56:03',
# '2019-05-04 23:58:02']

#Firstx_values and secondx_values looks like this: 
#[18.32,18.34 ..... 19.32,19.31]


plt.plot(firsty_values,firstx_values,'b')
plt.plot(secondy_values, secondx_values, 'g')

plt.ylabel('Temperature [C]')
plt.xlabel('Time')
plt.legend(['SA1_563_04_RT601A', 'SA1_563_04_RT601B'])
plt.xticks([100,604,1053]) #length more than 1053

plt.show()

#plt.plot(firsty_values,firstx_values,'b')
plt.plot(secondy_values, secondx_values, 'g')

plt.ylabel('Temperature [C]')
plt.xlabel('Time')
plt.legend(['SA1_563_04_RT601A', 'SA1_563_04_RT601B'])
plt.xticks([100,604,1053]) #length less than 1053

plt.show()

enter image description here enter image description here

0 个答案:

没有答案