필터 지우기
필터 지우기

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 CenterFile Exchange에서 Timing 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