# plotGaussEllipses

## PURPOSE

Plots 2D ellipses derived from 2D Gaussians specified by mus & Cs.

## SYNOPSIS

function hs = plotGaussEllipses( mus, Cs, rad )

## DESCRIPTION

     Plots 2D ellipses derived from 2D Gaussians specified by mus & Cs.

     USAGE
      hs = plotGaussEllipses( mus, Cs, [rad] )

     INPUTS
      mus     - k x 2 matrix of means
      Cs      - 2 x 2 x k  covariance matricies
      rad     - [2] Number of std to create the ellipse to

     OUTPUTS
      hs      - handles to ellipses

     EXAMPLE
      plotGaussEllipses( [ 10 10; 10 10 ], cat(3,eye(2),eye(2)*2) );

     See also PLOTELLIPSE, GAUSS2ELLIPSE

     Piotr's Image&Video Toolbox      Version 2.0
     Copyright 2008 Piotr Dollar.  [pdollar-at-caltech.edu]
     Please email me if you find bugs, or have suggestions or questions!
     Licensed under the Lesser GPL [see external/lgpl.txt]

## CROSS-REFERENCE INFORMATION

This function calls:

- gauss2ellipse Creates an ellipse representing the 2D Gaussian distribution.
- plotEllipse Adds an ellipse to the current plot.

This function is called by:

- imMlGauss Calculates max likelihood params of Gaussian that gave rise to image G.