Post-process: minmax
This commit is contained in:
parent
ee760958b8
commit
d07771aa8e
1 changed files with 7 additions and 1 deletions
|
@ -113,13 +113,19 @@ with pd.HDFStore(
|
||||||
color=color,
|
color=color,
|
||||||
ls=ls,
|
ls=ls,
|
||||||
)
|
)
|
||||||
axi.legend()
|
pp((sensor_data.max().max(), sensor_data.max().min()))
|
||||||
|
pp((sensor_data.max().max()-sensor_data.max().min())\
|
||||||
|
/sensor_data.max().max())
|
||||||
|
pp(sensor_data.max())
|
||||||
axi.grid()
|
axi.grid()
|
||||||
axi.set(
|
axi.set(
|
||||||
xlabel='t (s)',
|
xlabel='t (s)',
|
||||||
ylabel=config.get('figure', 'ylabel', fallback=''),
|
ylabel=config.get('figure', 'ylabel', fallback=''),
|
||||||
xlim=(0,timesteps.max()),
|
xlim=(0,timesteps.max()),
|
||||||
ylim=(0,figmax),
|
ylim=(0,figmax),
|
||||||
|
title=f'x={mesh.x.iat[sensor_id]}m',
|
||||||
)
|
)
|
||||||
|
axi.legend(loc='upper right')
|
||||||
|
fig.tight_layout()
|
||||||
fig.savefig(config.get('figure', 'save'))
|
fig.savefig(config.get('figure', 'save'))
|
||||||
plt.show()
|
plt.show()
|
||||||
|
|
Reference in a new issue