When I use LineStyle to only change the shape of the line, it works fine. When I use it to change the color, it gives me this error:
??? Error using ==> line Bad property value found. Object Name : line Property Name : 'LineStyle'.
For example,
line(….'LineStyle', ':') works fine, but line(….'LineStyle', 'k:') will cause a crash
Can someone explain why?
Best Answer