Changing the colour of individual cells in a table/uitable

Hi all,
I've made a table of values and want the cells (or the text inside of them) to be one of three colours based on their value. It seems that you have to use a uitable to do this. I've been able to get all of my uitable to change colour but cannot make an individual column or cell change colour. Is there any way to specify a column or cell specifically in a uitable?
Many thanks

 Accepted Answer

Daneil - please take a look at http://www.mathworks.com/matlabcentral/answers/25038-how-to-change-each-cell-color-in-a-uitable to get some idea on how to colour each cell.

1 Comment

Thank you. I was wondering if there was an Html-free way of doing it, but I have found and Html example that is easy enough for a complete beginner like me so it has worked well. Many thanks

Sign in to comment.

More Answers (0)

Categories

Find more on Convert Image Type 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!