DrawMirror:

Path: Imaging/Optics

% Draws mirrors.

   Type DrawMirror for a demo

--------------------------------------------------------------------------
   Form:
   DrawMirror( l, f, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   l         (:)     Mirror data structure
                     .s       (1,6) [x^2 y^2 xy x y 1]
                     .sa      (1,1) Semi aperture (radius about x)
                     .r       (1,1) Radius of hole in mirror
                     .concave (1,1) 1 if concave wrt ray coming from -x
   f          (1,1)  Figure handle
   n          (1,1)  Number of points per curve

   -------
   Outputs
   -------
   None

--------------------------------------------------------------------------

Children:

Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS

Back to the Imaging Module page