Drawing lines like streamslice

조회 수: 4 (최근 30일)
Frederick Papazyan
Frederick Papazyan 2019년 9월 18일
답변: Priyanshu Mishra 2019년 9월 20일
Hi All,
I was wondering how to plot lines like streamslice does (preferably in a 3D environment). In other words, I would like to draw lines with arrowheads along it.Thanks in advance!
- Freddie
  댓글 수: 2
darova
darova 2019년 9월 18일
You mean this?
1Untitled.png
Frederick Papazyan
Frederick Papazyan 2019년 9월 18일
Yes!

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

채택된 답변

darova
darova 2019년 9월 20일
Explanations:
111Untitled.png
result
img1.png
See attached script

추가 답변 (1개)

Priyanshu Mishra
Priyanshu Mishra 2019년 9월 20일
Hi Freddie,
For drawing a line with arrowhead, you can use quiver plot. For more information and examples regarding this you may refer to the documentation of quiver command.
Since, I am not aware of your application, I am sharing a similar query. You may refer to the file exchange shared in the question:

카테고리

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