How to display matlab cell array contents with colors?

조회 수: 1 (최근 30일)
Rinu
Rinu 2013년 11월 22일
댓글: Rinu 2013년 11월 22일
Say, I have a cell array A containing strings describing some property spatially. Is there any way I can plot these property values in color codes spatially (1D, along the vertical direction)?

답변 (1개)

Walter Roberson
Walter Roberson 2013년 11월 22일
You can text() in different colors, if that's what you mean ?
  댓글 수: 1
Rinu
Rinu 2013년 11월 22일
My problem was actually in graphically displaying the different property values along depth with different color codes. I now managed to do so using gscatter(). Thanks anyway.

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

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by