|
I have a 16 panel figure (4x4) that I created with plottools, then generated an m-file that gets called from another m-file script. However, I would like to control the distance between the individual panels in the figure (actually remove all space between them.
Is this controlled from the 'Position' parameter in the 'axes' function? I have pasted each of the "create axes" bits from the m-file below.
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.13 0.7673 0.1566 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.13 0.5482 0.1566 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.13 0.3291 0.1459 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.3361 0.7673 0.1566 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.3361 0.5482 0.1566 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.3361 0.3291 0.1459 0.1577]);
% Create axes
axes('Parent',figure1,'YTick',[0 5 10],...
'XTick',[1980 2040 2100 2140],...
'Position',[0.3361 0.11 0.1459 0.1577]);
axes('Parent',figure1,'YTick',[0 5 10],...
'XTick',[1980 2040 2100 2140],...
'Position',[0.13 0.11 0.1459 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.5422 0.7673 0.1566 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.5422 0.5482 0.1566 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.5422 0.3291 0.1459 0.1577]);
% Create axes
axes('Parent',figure1,'YTick',[0 5 10],...
'XTick',[1980 2040 2100 2140],...
'Position',[0.5422 0.11 0.1459 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.7484 0.7673 0.1566 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.7484 0.5482 0.1459 0.1577]);
% Create axes
axes('Parent',figure1,'XTick',[1980 2040 2100 2140],...
'Position',[0.7484 0.3291 0.1459 0.1577]);
% Create axes
axes1 = axes('Parent',figure1,'YTick',[0 5 10],...
'XTick',[1980 2040 2100 2140],...
'Position',[0.7484 0.11 0.1459 0.1577]);
|