MATLAB Answers


command for a certain graph

Asked by John
on 17 Jul 2012

Hi there,

Could somebody please tell me what the command is to produce a graph like this?

Thank you




No products are associated with this question.

1 Answer

Answer by the cyclist
on 17 Jul 2012
Edited by the cyclist
on 17 Jul 2012

That is a box plot.

>> boxplot(randn(50,10))

For future reference, code for creating many types of MATLAB plots can be found here: Although, strangely, I do not see a simple box plot here. :-/


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

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

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!