MATLAB: Changing the colour of individual cells in a table/uitable

cellcolorcolourtableuitable

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

Best 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.