%% Create Data Tip Using Coordinates
% Plot data on a scatter chart and return the Scatter object. Then, create a data tip at a particular data point by specifying the x- and y-coordinates.

x = linspace(0,10,11);
y = x.^2;
sc = scatter(x,y);

dt = datatip(sc,7,49);

% Copyright 2019 The MathWorks, Inc.