I am writing this function:
function finalPositions = networkEdit(weights, names, nodeStyle, linkStyle)
linkStyle is one string that determines the shape and color of all lines in the subsequent plot. So if linkStyle = 'k:', it should make all lines black and dotted. If I want black dotted lines, do I have to take linkStyle and break it up into 'k' and ':' or is there a way to use the string 'k:' without breaking it up?
Best Answer