mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-12-22 11:33:32 +01:00
Pulse: ResVsnr: lower ylimit at 1e-1
This commit is contained in:
parent
d1c89547b1
commit
eac9285efe
1 changed files with 5 additions and 0 deletions
|
@ -656,6 +656,11 @@ if __name__ == "__main__":
|
||||||
if True: # limit y-axis to 1e1
|
if True: # limit y-axis to 1e1
|
||||||
ax.set_ylim([None, 1e1])
|
ax.set_ylim([None, 1e1])
|
||||||
|
|
||||||
|
if True: # require y-axis lower limit to be at least 1e-1
|
||||||
|
low_ylims = ax.get_ylim()[0]
|
||||||
|
if low_ylims >= 1e-1:
|
||||||
|
ax.set_ylim([1e-1, None])
|
||||||
|
|
||||||
fig.tight_layout()
|
fig.tight_layout()
|
||||||
if len(template_dts) == 1:
|
if len(template_dts) == 1:
|
||||||
fig.savefig(f"figures/11_time_res_vs_snr_tdt{template_dt:0.1e}.pdf")
|
fig.savefig(f"figures/11_time_res_vs_snr_tdt{template_dt:0.1e}.pdf")
|
||||||
|
|
Loading…
Reference in a new issue