how to build array using matlab.graphics.chart.primitive.Line’ property
Look this example:
selected = findobj(allLines,’Type’,’line’,’LineWidth’,0.5);
[cc]=selected;
selected 13×1
xx selected 13×1
this is ok
now i try to use selected property:
selected.Color
it give me 13×1 color!
now i try to record information in array but it’s not possible
[cc]=selected.Color
now i see cc have only the first element!
can i do it?Look this example:
selected = findobj(allLines,’Type’,’line’,’LineWidth’,0.5);
[cc]=selected;
selected 13×1
xx selected 13×1
this is ok
now i try to use selected property:
selected.Color
it give me 13×1 color!
now i try to record information in array but it’s not possible
[cc]=selected.Color
now i see cc have only the first element!
can i do it? Look this example:
selected = findobj(allLines,’Type’,’line’,’LineWidth’,0.5);
[cc]=selected;
selected 13×1
xx selected 13×1
this is ok
now i try to use selected property:
selected.Color
it give me 13×1 color!
now i try to record information in array but it’s not possible
[cc]=selected.Color
now i see cc have only the first element!
can i do it? how to build array using matlab.graphics.chart. MATLAB Answers — New Questions