UITable color for value
이전 댓글 표시
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.
답변 (2개)
Image Analyst
2021년 9월 20일
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
2021년 9월 23일
0 개 추천
댓글 수: 2
Jan Moor
2021년 9월 23일
Image Analyst
2021년 9월 23일
I don't understand it. You'd need to upload the whole app.
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!