use "set" with trasparent color
이전 댓글 표시
selected = findobj(allLines,'Type','line','LineWidth',0.5);
set(selected, 'MarkerFaceAlpha',.2,'MarkerEdgeAlpha',.2);
Error using matlab.graphics.chart.primitive.Line/set
Unrecognized property MarkerFaceAlpha for class Line.
Error in mycallback (line 19)
set(selected, 'MarkerFaceAlpha',.2,'MarkerEdgeAlpha',.2);
Error while evaluating Line ButtonDown
Hi, i try to color in trasparente mode but i get error
채택된 답변
추가 답변 (1개)
Walter Roberson
2025년 6월 7일
1 개 추천
Line objects have never supported MarkerFaceAlpha or MarkerEdgeAlpha
MarkerFaceAlpha and MarkerEdgeAlpha are used for Scatter plots.
카테고리
도움말 센터 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
