The following code, plots the black dots. I'd like to create some separation between the black dots and the red label number of each dot.
for i=1:nr_BBU plot(BBU(i,2), BBU(i,1), 'k.', 'MarkerSize',25) labels = cellstr(num2str([i]')); %text(BBU(i,2), BBU(i,1), labels, 'Color', 'r', 'HorizontalAlignment', 'left', 'Position', '2')
text(BBU(i,2), BBU(i,1),labels,'HorizontalAlignment','center','VerticalAlignment', 'bottom',... 'Color', 'r', 'FontSize',12) hold onend
Best Answer