Create a Scatter plot from a cell array
Show older comments
I have a cell and array of 336x4. The values in column 2 and 3 are correlated to one another. How do I create a scatter plot to show this with the values from column 2 on the y axis and from 3 on the x axis.
Accepted Answer
More Answers (1)
load CS06
scatter([CS06{:,3}],[CS06{:,2}])
Categories
Find more on Scatter 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!