How to plot these figures into a graph with tons of data
Show older comments
Hello i have a multitude of data to process and wondering how to plot this data into a graph

Answers (1)
Dyuman Joshi
on 17 Jan 2024
0 votes
Assuming that you want to plot using the values in the 1st column as x-values -
Firstly, you would need to convert the 1st column values to numeric data type, preferably with str2double.
Or, you can read them as numeric values, which would be read as double data type by default.
(If the values in the 1st column are not required, you can skip the above steps.)
Then, use a for loop to go through the columns of the table and plot the data as required.
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!