Visulized 2 groups of data, with the data being tagges as 0 and 1 respectively
plot_2group(p,t) plot_2group(p,t,marker0, marker1)
2-D data, with x and y, each column build up 1 set of data
Target group, strictly 0 and 1 for the plot function to plot correctly
Marker color and type for group 0
Marker color and type for group 1
This is the function to Visulized 2 groups of data
x = rand(2,10); x(:,1:5) = x(:,1:5) + 1; t = [0 0 0 0 0 1 1 1 1 1]; plot_2group(x,t) | ![]() | ![]() |