How to convert 2D plot to 3D.
Ältere Kommentare anzeigen
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 Kommentare
Rik
am 8 Dez. 2021
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
am 8 Dez. 2021
Matt J
am 8 Dez. 2021
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
am 8 Dez. 2021
Rik
am 8 Dez. 2021
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
am 8 Dez. 2021
Akzeptierte Antwort
Weitere Antworten (1)
DIVYA K
am 10 Aug. 2022
0 Stimmen
is there chance to do this line graph into 3D graph
Kategorien
Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
