Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

라벨링 #10

Open
DmStrkIndstrs opened this issue Jun 9, 2022 · 0 comments
Open

라벨링 #10

DmStrkIndstrs opened this issue Jun 9, 2022 · 0 comments
Assignees

Comments

@DmStrkIndstrs
Copy link
Collaborator

umin = np.min(u_list)
umax = np.max(u_list)
hzmax = np.max(h_list+z)

t_ = np.array(t_list)
t_near_indx = np.searchsorted(t_,t)

axu.set_ylim(umin1.1,umax1.1)
axh.set_ylim(-0.1,3.5)
axh.fill_between(x,z,z_,color = 'tab:orange',zorder=2)
axu.set_xlabel('Horizental distance[m]',fontsize=13)
axh.set_ylabel('Height[m/s]',labelpad=13.5,fontsize=13)
axu.set_ylabel('Velocity[m/s]',fontsize=13)

def update_u_h(num):
near_num = t_near_indx[num]
h = h_list[near_num]
u = u_list[near_num]
axh.set_title(r'$\nu$ = {} cSt, time = {:.02f}s'.format(cSt,t[num]))
line_u.set_data(x,u)
line_h.set_data(x,h+z)

axu.set_ylim(umin*1.1,umax*1.1)
h = h_list[near_num]
@Gug-Young Gug-Young self-assigned this Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants