Gender = categorical(Gender);
scatter(Height(Gender=='Female'),Weight(Gender=='Female'));
hold on
scatter(Height(Gender=='Male'),Weight(Gender=='Male'));
hold off
Explore the points where the patient height is 64 inches. Select the button and click
one of the data points where height is 64. MATLAB zooms into the figure.
Modify Figures in Live Scripts