plotEllipse

PURPOSE ^

Adds an ellipse to the current plot.

SYNOPSIS ^

function [h,hc,hl] = plotEllipse(cRow,cCol,ra,rb,phi,color,nPnts,lw,ls)

DESCRIPTION ^

 Adds an ellipse to the current plot.

 USAGE
  [h,hc,hl] = plotEllipse(cRow,cCol,ra,rb,phi,[color],[nPnts],[lw],[ls])

 INPUTS
  cRow    - the row location of the center of the ellipse
  cCol    - the column location of the center of the ellipse
  ra      - semi-major axis radius length (in pixels) of the ellipse
  rb      - semi-minor axis radius length (in pixels) of the ellipse
  phi     - rotation angle (radians) of semimajor axis from x-axis
  color   - ['b'] color for ellipse
  nPnts   - [100] number of points used to draw each ellipse
  lw      - [1] line width
  ls      - ['-'] line style

 OUTPUT
  h       - handle to ellipse
  hc      - handle to ellipse center
  hl      - handle to ellipse orient

 EXAMPLE
  plotEllipse( 3, 2, 1, 5, pi/6, 'g');

 See also plotGaussEllipses

 Piotr's Computer Vision Matlab Toolbox      Version 2.42
 Copyright 2014 Piotr Dollar.  [pdollar-at-gmail.com]
 Licensed under the Simplified BSD License [see external/bsd.txt]

Generated by m2html © 2003