Plotting data in 3D

1 view (last 30 days)
Kanica Sachdev
Kanica Sachdev on 23 May 2023
Commented: Kanica Sachdev on 25 May 2023
I have a matrix that contains magnetic data in 3 axis (x,y,z) along with time (4th column). I need to plot this in a 3D graph, not points but lines of diffeernt color or some kind of mesh/net structure. How can i do that?
Kanica Sachdev
Kanica Sachdev on 24 May 2023
@KSSV I have attached the data.

Sign in to comment.

Answers (1)

KSSV on 24 May 2023
T = readtable('') ;
Warning: Column headers from the file were modified to make them valid MATLAB identifiers before creating variable names for the table. The original column headers are saved in the VariableDescriptions property.
Set 'VariableNamingRule' to 'preserve' to use the original column headers as table variable names.
Kanica Sachdev
Kanica Sachdev on 25 May 2023
In the above plot, the time data is missing. Can we represent it all in one plot?

Sign in to comment.


Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!