MATLAB: Separate Points for Plotting

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
strokebow
Messages
122
Reaction score
0
Hi,

I have generated 1000 data points.
I have assigned them a class (1 or 0) depending if they are above or below a decision boundary.

I want to plot the data on a graph with the class 1 data points in one colour and the class 0 data points in another.

any ideasa how I can do this please?

Thanks!
 
Physics news on Phys.org
strokebow said:
Hi,

I have generated 1000 data points.
I have assigned them a class (1 or 0) depending if they are above or below a decision boundary.

I want to plot the data on a graph with the class 1 data points in one colour and the class 0 data points in another.

any ideasa how I can do this please?

Thanks!

Please don't cross-post to multiple subforums. I've already replied in your other thread:
https://www.physicsforums.com/showthread.php?t=310468