Info
This question is closed. Reopen it to edit or answer.
Unique labelling of elements in scatter plot
1 view (last 30 days)
Show older comments
Hi, I am trying to make a scatter plot with multiple groups 'forVisit' and ''. What if i want to highlight each 'X' and '0' based on the elements in first column of 'read_time_series_data'? Any help to solve this will be appreciated.
x = read_time_series_data.nestType;
y = (read_time_series_data.time)./60;
group = {read_time_series_data.forVisit,read_time_series_data.forRecruitment};
gscatter(x,y,group,'rkgb','o*',15,'on','Nest quality(lux)','time(minutes)');
set(gca,'xtick',[1,16]);
5 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!