Interacting with labeled data points

| categories: plotting | View Comments



Interacting with labeled data points

John Kitchin

Matlab has a lot of capabilities for interacting graphically with data sets. Let's consider a dataset that contains ratings for different cities in different categories, such as health and climate. We suppose there could be a correlation between these two ratings and we want to check that.

Watch the video:

clear ; close all; clc
load cities % Matlab example data set

extract data for easy plotting

climate = ratings(:,1);
health  = ratings(:,3);
xlabel('Climate rating')
ylabel('Health rating')

Identifying each data point.


% categories: plotting

% post_id = 1431; %delete this line to force new post;
% permaLink =;
blog comments powered by Disqus