>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  ELL_PLOT_SEG
Libraries

ELL_PLOT_SEG

ELL_PLOT_SEG

Name


      ELL_PLOT_SEG

Purpose


      Plot a color coded data segment on current map.

Category


Calling Sequence


      ell_plot_seg, p1, p2

Inputs


      p1 = Start of segment to plot. in
      p2 = Endpoint of segment to plot. in
        Both points are structures {lon:lon,lat:lat}.

Keyword Parameters


Keywords


        COLOR=clr Array of 24-bit colors of data along segment.
        WIDTH=wd Width of segment in meters.
        NUM=num Number of steps across width.

Outputs


Common Blocks


Notes


      Notes: If plotted color band has holes trying using
        thick=2 (or 3).
        Assumes data values (given by the clr array) are evenly
          spaced in range from pt1 to pt2.

Example


          map_set,39,-77,scale=4e6,/cont,/usa
          x1=-80 & y1=37
          x2=-73 & y2=41
          v = makey(500)*50-75
          clr=color_code(v)
          ell_plot_seg,{lon:x1,lat:y1},{lon:x2,lat:y2},color=clr, $
            width=10000,num=100,thick=2
          map_set,39,-77,scale=4e6,/cont,/usa,/noerase

Modification History



  Copyright (C) 2008, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us