Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / Libraries / Coyote / STATIONPLOT

STATIONPLOT

STATIONPLOT

Name


      STATIONPLOT

Purpose



      This is routine for drawing station plots on a map or other display.
      Normally, this routine is used in conjunction with WINDBARB.

Author



      FANNING SOFTWARE CONSULTING
      David Fanning, Ph.D.
      1645 Sheely Drive
      Fort Collins, CO 80526 USA
      Phone: 970-221-0438
      E-mail: david@idlcoyote.com
      Coyote's Guide to IDL Programming: http://www.idlcoyote.com

Category



      Graphics.

Calling Sequence



      StationPlot, x, y

Required Inputs



      x: The X location of the center of the station plot, expressed in data coordinates.
      y: The Y location of the center of the station plot, expressed in data coordinates.

Keywords



      COLOR: The name of the color to draw the station plot in. May be a vector
                    the same length as X. Colors are those available in cgColor.
      RADIUS: The radius of the station plot circle in normalized coordinates.

Restrictions



      Requires cgColor from the Coyote Library:
          http://www.idlcoyote.com/programs/cgColor.pro

Example



  seed = -3L
  lon = Randomu(seed, 20) * 360 - 180
  lat = Randomu(seed, 20) * 180 - 90
  speed = Randomu(seed, 20) * 100
  direction = Randomu(seed, 20) * 180 + 90
  Erase, cgColor('Ivory', !P.Background)
  Map_Set, /Cylindrical,Position=[0.1, 0.1, 0.9, 0.9], Color=cgColor('Steel Blue'), /NoErase
  Map_Grid, Color=cgColor('Charcoal', !D.Table_Size-2)
  Map_Continents, Color=cgColor('Sea Green', !D.Table_Size-3)
  StationPlot, lon, lat, Color='Indian Red'

Modification History



      Written by: David W. Fanning, 20 May 2003, based on TVCircle from the
      NASA Astonomy Library.
      Added THICK keyword. 23 February 2005. DWF.



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us