MATLAB subplot margin

I'm plotting 5 x 3 plots using subplot command, but there are massive margins around each subplot.

How do I control the margin size around them?

Anybody can help?

for c=1:15
    imagesc(reshape(image(:,c), 360,480)), ;colormap gray; axis image;


The problem is that Matlab assigns the position property of each axis such that there is space around each plot. You can either adjust the position property, or you can get subaxis from the File Exchange and set up the subplots the way you like.

Take a look at the axes's LooseInset and OuterPosition properties:

Need Your Help

Method cannot be translated into a store expression

c# entity-framework linq-to-entities repository-pattern

I saw this code work with LINQ to SQL but when I use Entity Framework, it throws this error:

Linux: compute a single hash for a given folder & contents?

linux bash hash

Surely there must be a way to do this easily!