Changing the brush color using a color picker - different format
古いコメントを表示
whats the best way to convert the numbers in val
val =[1 1 0] % From color picker
To the format required here:
marker.FaceColorData=uint8(255*[1;0;0;1]); %Brush color, 4th digit is alpha Alpha=0.3 => 70% transparent red
thanks
(https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality)
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!