figure
scatter(data(I_1, 2), data(I_1, 3), rowsize(I_1), rowcolour(I_1,:), 'filled');
hold on
scatter(data(I_2, 2), data(I_1,3), [0,0,0]);
xlabel('Long');
ylabel('Lat');
title('Data 1');
This seems really simple but each time I try and add x/y labels and a title, my chart comes back with only Figure 1 at the top. However, the data is plotted correctly. Any tips?
2 Comments
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/465175-add-title-x-and-y-labels-to-scatter#comment_710769
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/465175-add-title-x-and-y-labels-to-scatter#comment_710769
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/465175-add-title-x-and-y-labels-to-scatter#comment_710783
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/465175-add-title-x-and-y-labels-to-scatter#comment_710783
Sign in to comment.