Plotting 3D graph
5 次查看(过去 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!