Converting 3D plot into surface like plot.

조회 수: 3 (최근 30일)
Ashraf Rafiza
Ashraf Rafiza 2020년 7월 11일
댓글: Ashraf Rafiza 2020년 7월 11일
Hi everyone ! I have a data on Total Number of Aircraft in each Hour in the Month of January. I have already plot the 3D plot using plot3 function (X axis = Day , Y axis = Hour, Z axis = Number of Aircraft) but now I want to convert it to surface like plot. Is it possible? anyone know how? Hope anyone could help :D thank you.
The image above is my data table.
The image above is my plot3 code.
The image above is the plot. See that, by convert it into surface, I can better understand the trend.

답변 (1개)

madhan ravi
madhan ravi 2020년 7월 11일
[DAY, HOUR] = meshgrid(Day, Hour);
NUMAIRCRAFT = repmat(numAircraft, 1,numel(Day));
surf(DAY, HOUR, NUMAIRCRAFT)
  댓글 수: 1
Ashraf Rafiza
Ashraf Rafiza 2020년 7월 11일
Thank you so much. Really appreciate it

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

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by