No streamlines

24 Ansichten (letzte 30 Tage)
Frank
Frank am 15 Jan. 2012
Beantwortet: nick am 14 Apr. 2025
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 Kommentar
arun
arun am 15 Jan. 2012
Sir, I cant get your question. Are you talking about stream line in aerodynamics?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

nick
nick am 14 Apr. 2025
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

Kategorien

Mehr zu Vector Fields finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by