How to display matlab cell array contents with colors?

1 次查看(过去 30 天)
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 中查找有关 Graphics Object Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by