transparency line of polar graph

조회 수: 7 (최근 30일)
Begüm DEVLET
Begüm DEVLET 2021년 12월 24일
댓글: Begüm DEVLET 2021년 12월 24일
I plot a polar graph with line data set. I could not change transparency of data lines, i tried facealpha and edgealpha but they did not work.
if anyone has a idea that how can change the transperancy of lines would be great, thank you.

채택된 답변

Chunru
Chunru 2021년 12월 24일
theta = deg2rad(0:360);
r = cos(theta).^2;
a = polar(theta, r);
a.Color =[1,0,0, .2]; % use the last value to control the transparency

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by