UITable color for value
Mostrar comentarios más antiguos
I've made a easy connectfour in matlab. Is there a possibility, that when the value in a cell from the UITable is 1, to make it red ans when it's -1 to make it yellow?
the background and the foreground color need to change.
Respuestas (2)
Image Analyst
el 20 de Sept. de 2021
Yes. Not sure how you're doing the display but you could make an array of circles and a colormap. Then use
imshow(yourImage, 'ColorMap', cmap);
Jan Moor
el 23 de Sept. de 2021
0 votos
2 comentarios
Jan Moor
el 23 de Sept. de 2021
Image Analyst
el 23 de Sept. de 2021
I don't understand it. You'd need to upload the whole app.
Categorías
Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!