How to display matlab cell array contents with colors?

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)

You can text() in different colors, if that's what you mean ?

1 Comment

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 Properties in Help Center and File Exchange

Asked:

on 22 Nov 2013

Commented:

on 22 Nov 2013

Community Treasure Hunt

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

Start Hunting!