No streamlines

조회 수: 2 (최근 30일)
Frank
Frank 2012년 1월 15일
답변: nick 2025년 4월 14일
Hi, I wanted to use streamline function to plot velocity vectors but I don't see anything on the plot after I have loaded my files into Matlab. However, I can see the vectors when I included quiver command. Why is this so?
  댓글 수: 1
arun
arun 2012년 1월 15일
Sir, I cant get your question. Are you talking about stream line in aerodynamics?

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

답변 (1개)

nick
nick 2025년 4월 14일
Hi Frank,
Kindly share the code and associated files to help debug the issue. You can follow these steps to resolve some of the common reasons for streamlines not to be plotted :
  • The velocity components are defined over the entire grid without any NaN values, ensuring that streamlines can be plotted across the domain.
  • The axis function is used to set the limits, ensuring that all streamlines are visible within the plot area.
Kindly refer to the documentation by executing the following command in MATLAB command window to know more about 'streamline' function :
doc streamline

카테고리

Help CenterFile Exchange에서 Vector Fields에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by