How visualize data in matlab
2 views (last 30 days)
Show older comments
Agnes Palit on 16 Jul 2018
Commented: Star Strider on 16 Jul 2018
I am trying to visualize data in matlab with this file (I have attach above).
How to visualize the data with the x-axis is the "date2", dan the y-axis is "mean_METs"?
Edited: Star Strider on 16 Jul 2018
With your data, use the structure field reference with your ‘ee_moderate’ table:
d = load('ee_moderate.mat');
ee_moderate = d.ee_moderate;
More Answers (1)
KARSH THARYANI on 16 Jul 2018
Please follow the examples here
In short, you need to load your .mat file and the variables will show up in your workspace, if loaded successfully.
Then, you can plot them.
To plot, you can refer to some examples here
So, for instance if you have a column vector in X and the values corresponding to it in Y, you can do
Find more on Line 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!