get 2 set of random coordinates
Show older comments

How to plot as above randomly with two colors
I have now given
xy = [2.5 4.5;
3.5 4.5;
4.5 4.5;
4.5 2.5;
3.5 3.5];
and plotted
what should i do to get 2 set of random coordinates and plot as shown in image attached. All locations should have a plot
2 Comments
Adam Danz
on 24 Jan 2019
Your title seems like you want to choose 2 colors randomly but the last sentence seems like you want to produce random coordinates. Can you explain the problems again?
Elysi Cochin
on 24 Jan 2019
Edited: Elysi Cochin
on 24 Jan 2019
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!