How to convert 2D plot to 3D.
显示 更早的评论
I have a plot that gives me the following plot.
plot(field0(:,1), field0(:,2))
xlim([-0.1 0.02])

Is it possible to convert this to 3D plot that will look something like this?

6 个评论
Rik
2021-12-8
Of course you can, but how do you want to determine the other lines to be plotted from your single line? Is all the data in field0?
Vahram Voskerchyan
2021-12-8
Matt J
2021-12-8
That's not the problem. It's a part of the problem definition. You must select one of the infinite possible 3D extensions that you want and tell us what it is.
Vahram Voskerchyan
2021-12-8
Rik
2021-12-8
In that case you must first try to find the peak point and decide how exactly you want to rotate. Do you want to make it symetrical? The plot you showed isn't symetrical itself, so how should the code deal with that?
Vahram Voskerchyan
2021-12-8
采纳的回答
更多回答(1 个)
DIVYA K
2022-8-10
0 个投票
is there chance to do this line graph into 3D graph
类别
在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
