MATLAB Answers

Teemu
0

How can I subplot images close to eachother using subplot?

Asked by Teemu
on 28 Feb 2013

How can I subplot images close to eachother using subplot? Now I have plotted 20 images to same figure and space between images is too big.

  0 Comments

Products

No products are associated with this question.

2 Answers

Answer by Daniel Shub
on 28 Feb 2013

Copy subplot.m and edit line 128 (or there abouts)

    inset = [.02, .018, .004, .01]; % [left bottom right top]

to be values more to your liking. Either save the new file as subplot.m (which will affect all subplots) or something new (e.g., tightsubplot) and use that when you want tight subplots.

  0 Comments


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!