Converting 2D plots into a 3D plot
조회 수: 5 (최근 30일)
이전 댓글 표시
I have total 4 arrays.
waterdepth = [] (10 values)
velocities = [] (corresponding to the 10 values of depths)
time=[] (10 values)
velocities = []=(corresponding to the 10 values of time)
I am able to plot two graphs seperately but I want to show how velocity is changing with both waterdepth and time in a single 3D plot.... How can I plot one?
댓글 수: 2
답변 (1개)
Jyotsna Talluri
2020년 4월 23일
As you have 3 vectors waterdepth,time and velocities, you can plot a 3D scatter plot by making use of scatter3 function.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete Data Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!