Azzera filtri
Azzera filtri

How to display matlab cell array contents with colors?

4 visualizzazioni (ultimi 30 giorni)
Rinu
Rinu il 22 Nov 2013
Commentato: Rinu il 22 Nov 2013
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)?

Risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by