How to convert 2D plot to 3D.
12 次查看(过去 30 天)
显示 更早的评论
I have a plot that gives me the following plot.
plot(field0(:,1), field0(:,2))
xlim([-0.1 0.02])
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/827250/image.jpeg)
Is it possible to convert this to 3D plot that will look something like this?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/827255/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/827255/image.jpeg)
6 个评论
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?
采纳的回答
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!