# The boxwhisker: boxwhisker mustache

### 8.1.8 The boxwhisker: boxwhisker mustache

A boxwhisker is a graphical view of the quartiles of a list of numbers. The boxwhisker consists of a line segment from the the minimum of the list to the first quartile, leading to a rectangle from the first quartile to the third quartile, followed by a line segment from the third quartile to the maximum of the list. The rectangle contains a vertical segment indicating the median, and the two line segments will contain vertical lines indicating the first and ninth decile.

The boxwhisker command creates a boxwhisker for a list.
mustache is a synonym for boxwhisker.

- boxwhisker takes one argument:
  L, a list of numbers.
- boxwhisker(L) draws the boxwhisker for L.

#### Example.

Input:

boxwhisker([-1,1,2,2.2,3,4,-2,5])

Output: