create plot with slice
显示 更早的评论

Hi, I am wondering if I have two values
x=[1,2,3,4,5,6,7]
y=[10,20,22,25,30,35,37]
I understand, it does NOT work like that, but could anyone help me to to do the same figure but with the data on the righthand side Y..
I need my plot to look like the same ??
2 个评论
Ali Tawfik
2020-5-27
Ameer Hamza
2020-5-28
You need at least 4 variables (3 independent and 1 dependent) to use slice(). V corresponds to the color of slices.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 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!
