How can I close exponential view in uitable and increase the rows width?
1 次查看(过去 30 天)
显示 更早的评论
num1=[1;2;3] %points id
num2=[4298567.322;4275666.985;4635714.325] %coordinates
num3=[525647.555;522312.965;511325.542] %coordinates
num=[num1 num2 num3] %points id, coordinates
num=num2cell(num)
set(handles.uitable1, 'Data', num)
%coordinates looks exponential in uitable's row. How can I close this looking and increase the width of each row?
0 个评论
采纳的回答
Walter Roberson
2013-11-11
Set the ColumnFormat property to 'f' (fixed); see http://www.mathworks.com/help/matlab/ref/uitableproperties.html#brglhyc
You can also set the ColumnWidth property.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!