Save uitable with colors

조회 수: 1 (최근 30일)
GONZALEZ DE COSSIO ECHEVERRIA Francisco Jose
댓글: Tanya Meyer 2022년 4월 21일
I have created a iutable by using:
uit=uitable(uifigure,'Data',T);
where T is a table. Then, I added some colors to the cells depending on their value. Usually I am able to save the table by using saveas function, but this does not work in this case since uifigure is used instead of just figure.
How can I save the colored table in any given format?
  댓글 수: 1
Tanya Meyer
Tanya Meyer 2022년 4월 21일
I am also struggling with the same issue where I'd like to save a uitable (with coloured rows based on their values). In particular, I'd like to save it as a .fig file to retain the functionality.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2020년 3월 16일
At the moment, uifigure does not provide any way to save graphics or interface as an image.
The mechanism to color uitable for uifigure is quite different than the hack that is needed for uitable for traditional figures, so converting automatically to a traditional figure to save it might be tricky.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by