Plotting 3D graph
조회 수: 7 (최근 30일)
이전 댓글 표시
Hello everyone,
How can I plot a 3D graph for power and frequency vs. time (z,y,x)?
Thanks

댓글 수: 0
채택된 답변
Star Strider
2016년 4월 24일
See if any of the File Exchange contributions in a 3D area plot search do what you want. See specifically AREA3 (that was last updated 12 years ago, so may only work in MATLAB versions 2014a and earlier).
Otherwise, the best I can suggest to you is the ribbon plot.
댓글 수: 3
N/A
2018년 10월 15일
Have you solved this problem? I want to draw this figure like you. Could you share your result with me?
추가 답변 (2개)
Azzi Abdelmalek
2016년 4월 24일
plot3(z,y,x)
댓글 수: 3
Azzi Abdelmalek
2016년 4월 24일
Look at this example
t=linspace(0.1,2,20)
freq=linspace(0,20000,20)
[x,y]=meshgrid(t,freq)
z=sin(x).^2+cos(y).^2 %your power vector
surf(x,y,z)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!