fitting a uitable in a subplot

1 visualización (últimos 30 días)
farfar
farfar el 10 de Jul. de 2018
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',[]);

Respuestas (0)

Categorías

Más información sobre Timing and presenting 2D and 3D stimuli en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by