Hello everyone,
How can I plot a 3D graph for power and frequency vs. time (z,y,x)?
Thanks

 채택된 답변

Star Strider
Star Strider 2016년 4월 24일

0 개 추천

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

mosa mm
mosa mm 2016년 4월 25일
Thanks
Star Strider
Star Strider 2016년 4월 25일
My pleasure.
N/A
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
Azzi Abdelmalek 2016년 4월 24일

0 개 추천

plot3(z,y,x)

댓글 수: 3

mosa mm
mosa mm 2016년 4월 24일
Thanks Azzi for the Answer. However what I meant is like the one in the picture
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)
mosa mm
mosa mm 2016년 4월 24일
Thanks Azzi, you are very helpful. But the 3D plot that I am looking for to see is attached here (Plot3d.png). It shows that on each time sample there is a separate graph, I don't know even if it's possible in Matlab or not? Thanks anyway

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

Image Analyst
Image Analyst 2016년 4월 24일

0 개 추천

I think that might best be done with waterfall().

카테고리

질문:

2016년 4월 24일

댓글:

N/A
2018년 10월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by