I want to plot lines with marker but I do not the lines to touch the marker. E.g. when I execute a command such as
x = [1 2 3 4];
y = [2 3 2 1];
plot(x, y, '-bo', 'LineWidth', 3, 'MarkerSize', 10, 'MarkerFaceColor', [0 0 1]);
axis([0 5 0 4]);
I get the following plot:
However, I do not want the lines to touch the markers, i.e., I want to plot the following figure:
Could anyone suggest how can I achieve the non-continuous lines as shown above?
Any help will be greatly appreciated.