フィルターのクリア

fitting a uitable in a subplot

1 回表示 (過去 30 日間)
farfar
farfar 2018 年 7 月 10 日
Hello
I am trying to have a subplot including a uitable. I found one answer from mathworks for creating uitable and I am using it. it works fine separately as a figure but giving me error of "position" in a subplot. is there a way that I can fit it in a this subplot? can anybody help please ?
Thanks
subplot(2,2,2);
imshow('zoom1.JPG');
subplot(2,2,3);
set(f,'Position',[20 20 258 100]);
dat = {' CC', 4500, ' k';...
' CE', 100, ' bl;...
' LE', 75, ' lm';...
' acv', 0.25, ' blm;...
' Ill', 450, ' l';...
' E',200, ' lux';};
columnname = {'Parameter', 'Value', 'Units'};
columnformat = {'char', 'numeric', 'char'};
t = uitable('Units','normalized','Position',...
[0.05 0.05 0.755 0.87], 'Data', dat,...
'ColumnName', columnname,...
'ColumnFormat', columnformat,...
'RowName',[]);

回答 (0 件)

カテゴリ

Help Center および File ExchangeTiming and presenting 2D and 3D stimuli についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by