uitable overlaps a white panel in a traditional figure
Ältere Kommentare anzeigen
Hello! I would like to display a table in a traditional figure. My script is simple:
%******
f = figure('Name', 'My table', 'Position', [1000 500 1000 500];
ut = uitable(f, 'Data', dat, 'Position', [20 20 950 450]);
hold on
%******
However, when I run my script, the figure shows up with the table and looks good, but when I maximize the figure, I can see a white panel (grid) underneath the table and the table partially covers the grid. How do I get rid of the white panel under the table?
Thank you.
****************************
Update: I figured out that the grid shows up because I have a title line:
title('Numbers', 'FontSize', 12);
I guess my new question is: is it possible to add a title to a table without the grid showing up? Also I would like to add labels to rows and columns to explain what rows and columns mean.
Thank you.
1 Kommentar
Jan
am 12 Okt. 2017
Can you post a screenshot of what you see?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu App Building finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!