DrawSphere:

Path: Common/Graphics

% Draw a sphere with specified latitude and longitude lines.

 Type DrawSphere for a demo.

--------------------------------------------------------------------------
   Form:
   [fig, s] = DrawSphere( R, surfCol, lineCol, latMarks, longMarks )
--------------------------------------------------------------------------

   -------
   Inputs:
   -------
   R         (1,1)	Radius
   surfCol   (1,:)	Surface color (character of 1 by 3 array)
   lineCol   (1,:)	Line color (character of 1 by 3 array)
   latMarks  (1,:)	Latitude mark angles
   lonMarks	(1,:)	Longitude mark angles

   --------
   Outputs:
   --------  
   fig       (1,1) Figure handle 
   s         (1,1) Surface handle

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

Children:

AeroUtils: Coord/LLAToECEF

Back to the Common Module page