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

display.py中u、v速度的翻转绘图问题 #1

Open
freshlu11 opened this issue Dec 16, 2022 · 0 comments
Open

display.py中u、v速度的翻转绘图问题 #1

freshlu11 opened this issue Dec 16, 2022 · 0 comments

Comments

@freshlu11
Copy link

包大佬,画图程序 display.py里下面这两行 我没搞明白,速度分量udisp的左边是方腔的南面s,右边是n,上边是w,下边是e, transpose后上下左右变成 s、n、w、e, 再flip上下翻转之后就是正常的 n、s、w、e了啊,为什么从实际来看还得再加一个左右翻转flip( , axis=1)才能画出正常的图? 如有空请指点一二 : D

u = np.flip((np.flip(self.udisp.to_numpy().transpose())), axis=1)
v = np.flip((np.flip(self.vdisp.to_numpy().transpose())), axis=1)
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

1 participant