MATLAB Answers


Five plots in one figure?

Asked by Jakub
on 21 Aug 2013

Is there a nice way to have five plots in one figure? i want each plot equally big and minimum of empty space. So i dont want to use subplot(3,2,...) and so on beacause there will be always a blank spot. Thank you!!



No products are associated with this question.

2 Answers

Answer by Walter Roberson
on 21 Aug 2013
 Accepted answer



Answer by Jakub
on 21 Aug 2013

I am plotting five circles so I want them in positions like on dice.


Walter Roberson
on 21 Aug 2013

That is going to involve empty space unless you do not mind if they overlap.

subplot(3,3,K) where K is 1, 3, 5, 7, 9.
on 21 Aug 2013

There is no way without so much empty space?

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!