grid on
legend({'Female','Male'})
title('Weight vs Height')
xlabel('Height')
ylabel('Weight')
annotation('textarrow',[0.455 0.3979],[0.3393 0.13],'String','Lightest Patient');
Add and Modify Multiple Subplots
You can combine multiple plots by creating subplots in a figure. To add multiple subplots
to your figure, use the Subplot button to divide the figure into a grid of subplots. First,
select the desired figure. Then, go to the Figure tab and choose a subplot layout using
Modify Figures in Live Scripts