leo.anylastname avatar

how to draw matlab transparent line/plot, 반투명한 라인 그리기

leo99lee

Published: 13 Mar 2018 › Updated: 13 Mar 2018

how to draw matlab transparent line/plot, 반투명한 라인 그리기

matlab transparent line, plot

Example 1:

set(hline(i),'LineStyle','-','Color','blue','linewidth',4);
        hline(i).Color(4) = 0.2;

첫번째 줄은 hline이라는 개체중에 i에 해당하는 라인의 스타일, 칼라, 넓이 등을 set 해주는 명령이다.
두번째 줄에서 투명도를 0.2로 설정하였다.

Example 2:

A = plot(aa, 'linewidth',4);
A.Color(4) = 0.5;   ===> 50% 투명도로 그리기!

첫 번째 라인에서는 aa라는 데이터를 4의 넓이로 그린 plot의 이름을 A라고 지정하였다.
두 번째 라인에서는 A라는 plot에 있는 line들의 투명도를 50%로 설정해 준 것이다.

Leave how to draw matlab transparent line/plot, 반투명한 라인 그리기 to:

Written by

Read more #kr posts


Best Posts From leo.anylastname

We have not curated any of leo99lee's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From leo.anylastname