• Support PF! Buy your school textbooks, materials and every day products Here!

MATLAB: Separate Points for Plotting

  • Thread starter strokebow
  • Start date
  • #1
123
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!
 

Answers and Replies

  • #2
MATLABdude
Science Advisor
1,655
4
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
 

Related Threads for: MATLAB: Separate Points for Plotting

Replies
3
Views
1K
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
1
Views
777
  • Last Post
Replies
10
Views
10K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
6
Views
564
  • Last Post
Replies
1
Views
8K
Top