Description |
group = setfigdocked('PropertyName1',value1,'PropertyName2',value2,...)
PropertyName:
- GroupName name of group need to be generated
- GridSize scalar or vector quantity, defines number of rows
and columns of cell in group
- SpanCell vector or matrix quantity, size n x 4,
[row col occupiedrows occupiedcols]
build an cell at the position (row, col) in group
cell (GridSize) which occupies "occupiedrows"
rows and "occupiedcols" columns
- Figure handle of figure
- Figindex index position of figure in group cell
- Maximize 0/1, maximize group
- GroupDocked 0/1, dock group
Example:
group = setfigdocked('GroupName','Image and Edges','GridSize',3,'SpanCell',[1 2 2 2]);
im1 = imread('cameraman.tif');
figure;imshow(im1);set(gcf,'Name','Cameraman','NumberTitle','off')
group = setfigdocked('GroupName','Image and Edges','Figure',gcf,'Figindex',2);
figure; edge(im1,'prewitt');set(gcf,'Name','Prewitt method','NumberTitle','off')
group = setfigdocked('GroupName','Image and Edges','Figure',gcf,'Figindex',1);
figure; edge(im1,'roberts');set(gcf,'Name','Roberts method','NumberTitle','off')
group = setfigdocked('GroupName','Image and Edges','Figure',gcf,'Figindex',3);
figure; edge(im1,'roberts');set(gcf,'Name','Roberts method','NumberTitle','off')
group = setfigdocked('GroupName','Image and Edges','Figure',gcf,'Figindex',4);
figure; edge(im1,'roberts');set(gcf,'Name','Roberts method','NumberTitle','off')
group = setfigdocked('GroupName','Image and Edges','Figure',gcf,'Figindex',5);
figure; edge(im1,'canny');set(gcf,'Name','Canny Method','NumberTitle','off')
group = setfigdocked('GroupName','Image and Edges','Figure',gcf,'Figindex',6);
group = setfigdocked('GroupName','Image and Edges','Maximize',1,'GroupDocked',0); |