PlotPlanet:

Path: SC/Visualization

% Add planet to the current axes.
 The planet will be a solid color sphere. The color may be input as a
 structure with color data and a texture map, see Earth.mat
--------------------------------------------------------------------------
   Form:
   hSurf = PlotPlanet( r, radius, color, noLines )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r        (3,1)     Location of planet in figure frame
   radius   (1,1)     Planet radius
   color    (1,1)     Color, i.e. 'y', 'b' or [R G B], or structure
                        .planetMap
                        .planetColorMap
   noLines  (1,1)     Flag to skip the lat/lon lines
   n        (1,1)     Number of divisions

   -------
   Outputs
   -------
   hSurf    (1,1)     Handle to surface object

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

Children:

SC: SCMat/EarthMR
Common: General/Watermark
Common: Graphics/NewFig

Back to the SC Module page