필터 지우기
필터 지우기

change colour of a text into blue

조회 수: 310 (최근 30일)
Locks
Locks 2013년 4월 1일
text(0,0.11,'Log-normal distribution')
text(10,0.06,'Normal distribution')
set(text,'Color','b')
I would like to have the 2nd row of code displayed in blue, but if I insert 'b' into the brackets, it does not with and the code above doesn't either, what do I need to change?

채택된 답변

Mahdi
Mahdi 2013년 4월 1일
Try doing it in one line
text(10, 0.06, 'Normal distribution', 'Color', 'b')
  댓글 수: 1
Locks
Locks 2013년 4월 1일
that's working, thanks

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by