Matlab 3D graphing (graph slicing)?
显示 更早的评论
How can I "plot the function d=x*y*e^(-sqrt(x^2+y^2+x^2)) along the x=y diagonal"? Do I use the "contourslice" command? How? Thanks.
1 个评论
Patrick Kalita
2013-1-29
Did you mean d=x*y*e^(-sqrt(x^2+y^2+z^2))? Your original question has two x^2 terms in the sqrt.
回答(1 个)
Azzi Abdelmalek
2013-1-27
X=1:10
y=x
z=cos(x+y) % use your function
Plot3(x,y,z)
类别
在 帮助中心 和 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!