Clear Filters
Clear Filters

How to display matlab cell array contents with colors?

1 view (last 30 days)
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)?

Answers (1)

Walter Roberson
Walter Roberson on 22 Nov 2013
You can text() in different colors, if that's what you mean ?
  1 Comment
Rinu
Rinu on 22 Nov 2013
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.

Sign in to comment.

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!