How can I plot the different values in a matrix as different entities in a single plot?
Show older comments
Here's my matrix:
1 3 4 4 1
3 1 2 4 3
4 2 1 2 2
2 4 4 4 1
2 2 3 4 4
I want to plot 1 as a red circle, 2 as a blue square and so on. Also, the values in my matrix keep changing after every iteration. I would like my plot to also change accordingly. Any help would be appreciated. Thanks!
Accepted Answer
More Answers (0)
Categories
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!