I am using scatter plot and for some reason when I use the "filled" option, the marker shapes change to squares. Here is an example of my code:
scatter(T{:,i},height(T):-1:1,20, 'filled')
In this case, I am just plotting the entries for a particular table column, T{:,i}, against the row numbers. When I execute this code, the marker shapes are squares. However, if I use the longer form, I get filled circles:
scatter(T{:,i},height(T):-1:1,20, 'MarkerFaceColor', lines(1))
The drag here is that I have to know which color I am using rather than simply having the markers automatically filled with the matching color. Has anyone else ever experienced this?
Best Answer