Plotting streamlines in polar coordinates

I'm attempting to plot flow past a cylinder and figured out how to get the vector field to appear on the plot but the streamlines won't appear. I used the stream function psi=y.*(1-(1./r^2));

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 3월 17일

1 개 추천

Use quiver() plot function to plot vector fields -see this documentation:

댓글 수: 1

I have the vector field already but it's the streamlines that fail to appear on the graph

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Vector Fields에 대해 자세히 알아보기

제품

릴리스

R2023a

질문:

2023년 3월 17일

댓글:

2023년 3월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by